This is the mail archive of the gdb-patches@sources.redhat.com 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] |
Thanks for Andrew's hint, here's a stub unwinder for hppa. Helps us out in the testsuites quite a bit. okay to checkin?
- frame_unwind_append_sniffer (gdbarch, hppa_frame_unwind_sniffer);
- frame_base_append_sniffer (gdbarch, hppa_frame_base_sniffer);
-
- set_gdbarch_pseudo_register_read (gdbarch, hppa_pseudo_register_read);
/* Hook in ABI-specific overrides, if they have been registered. */
gdbarch_init_osabi (info, gdbarch);
+
+ /* Hook in the default unwinders. Do this last in case the osabi
+ wants to add additional unwinders. */
+ frame_unwind_append_sniffer (gdbarch, hppa_stub_unwind_sniffer);
+ frame_unwind_append_sniffer (gdbarch, hppa_frame_unwind_sniffer);
+ frame_base_append_sniffer (gdbarch, hppa_frame_base_sniffer);
+ frame_base_set_default (gdbarch, &hppa_frame_base);
randolph
2004-04-22 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache) (hppa_stub_frame_this_id, hppa_stub_frame_prev_register) (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder for handling stackless frames. (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer. Rearrange the order of unwinder registration vs init_osabi so that additional osabi-specific unwinders can be hooked in.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |