This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]