diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-03-25 01:27:26 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-03-25 01:27:26 +0000 |
commit | 5792a79bd1d3edef39286e3e4331dc21dfc45f63 (patch) | |
tree | 8a206096db46e74d8ec943f0065ef7b77d9b4f10 /gdb/mips-tdep.c | |
parent | f516dd4c108d833d6e7dcbfc07e115162498141c (diff) | |
download | gdb-5792a79bd1d3edef39286e3e4331dc21dfc45f63.zip gdb-5792a79bd1d3edef39286e3e4331dc21dfc45f63.tar.gz gdb-5792a79bd1d3edef39286e3e4331dc21dfc45f63.tar.bz2 |
* Makefile.in (mips-linux-tdep.o): Update dependencies.
* mips-tdep.c (mips_gdbarch_init): Move frame predicates
to after osabi initialization.
* mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
(mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New
functions.
(mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe)
(mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New
variables.
(mips_linux_init_abi): Append signal trampoline unwinders.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 563a7d8..cf1eddc 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -5741,9 +5741,7 @@ mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Unwind the frame. */ set_gdbarch_unwind_pc (gdbarch, mips_unwind_pc); - frame_unwind_append_sniffer (gdbarch, mips_mdebug_frame_sniffer); set_gdbarch_unwind_dummy_id (gdbarch, mips_unwind_dummy_id); - frame_base_append_sniffer (gdbarch, mips_mdebug_frame_base_sniffer); /* Map debug register numbers onto internal register numbers. */ set_gdbarch_stab_reg_to_regnum (gdbarch, mips_stab_reg_to_regnum); @@ -5808,6 +5806,10 @@ mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Hook in OS ABI-specific overrides, if they have been registered. */ gdbarch_init_osabi (info, gdbarch); + /* Unwind the frame. */ + frame_unwind_append_sniffer (gdbarch, mips_mdebug_frame_sniffer); + frame_base_append_sniffer (gdbarch, mips_mdebug_frame_base_sniffer); + return gdbarch; } |