This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc/rfa v2] Use ARM exception tables as GDB unwinder
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: uweigand at de dot ibm dot com (Ulrich Weigand)
- Cc: gdb-patches at sourceware dot org, rearnsha at arm dot com, dan at codesourcery dot com, matthew dot gretton-dann at arm dot com
- Date: Wed, 2 Feb 2011 20:49:56 +0100 (CET)
- Subject: Re: [rfc/rfa v2] Use ARM exception tables as GDB unwinder
> * arm-tdep.c: Include "observer.h".
> (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
> (arm_exidx_data_key): New static variable.
> (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
> (struct arm_exidx_data): Likewise.
> (arm_exidx_data_free): New function.
> (arm_compare_exidx_entries): Likewise.
> (arm_obj_section_from_vma): Likewise.
> (arm_exidx_new_objfile): Likewise.
> (arm_find_exidx_entry): Likewise.
> (arm_exidx_fill_cache): Likewise.
> (arm_exidx_unwind_sniffer): Likewise.
> (arm_exidx_unwind): New global variable.
> (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
> (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
> observer. Register arm_exidx_data_key as objfile data.
I've checked this in now.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com