RFA: ia64 portion of libunwind patch updated

J. Johnston jjohnstn@redhat.com
Fri Nov 14 21:24:00 GMT 2003


In light of the recent checked-in patches concerning libunwind and the resolved 
issues, is the ia64-tdep.c patch ok now?  The issue regarding whether libunwind 
could more efficiently reference the table entries will require an ABI change to 
libunwind and needs some thought from David.

-- Jeff J.

J. Johnston wrote:
> The attached patch is the updated ia64 libunwind patch addressing a 
> number of comments.  The bfd stuff has been replaced with a simple 
> target memory read. The syscall stuff has been replaced with a call to 
> target_read_partial() which has been implemented in another patch.  I 
> have added a few comments per Elena's suggestion.
> 
> Ok to commit?
> 
> -- Jeff J.
> 
> 2003-11-06  Jeff Johnston  <jjohnstn@redhat.com>
>             David Mosberger  <davidm@hpl.hp.com>
> 
>     * ia64-tdep.c: Include elf.h.
>     [HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and 
> libunwind-ia64.h.
>     (ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support.
>     (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto.
>     (ia64_is_fpreg, ia64_access_reg): Ditto.
>     (ia64_access_fpreg, ia64_access_mem): Ditto.
>     (get_kernel_table): Ditto.
>     (ia64_find_unwind_table): Ditto.
>     (ia64_find_proc_info_x, ia64_put_unwind_info): Ditto.
>     (ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto.
>     (ia64_libunwind_frame_prev_register): Ditto.
>     (ia64_libunwind_frame_sniffer): Ditto.
>     (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame
>     sniffer.  Register libunwind functions needed by generic libunwind 
> frame
>     code using libunwind_frame_set_descr().



More information about the Gdb-patches mailing list