aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-03-29 16:56:40 +0000
committerDaniel Jacobowitz <drow@false.org>2005-03-29 16:56:40 +0000
commit842e1f1ec460584708d95aa7ecab7536c047b29e (patch)
tree583fef45ea698f22af393e4dbe4c29679b6b8131 /gdb/arm-tdep.c
parentba93b8aced8f39a02c47731e89278fe6f217d929 (diff)
downloadgdb-842e1f1ec460584708d95aa7ecab7536c047b29e.zip
gdb-842e1f1ec460584708d95aa7ecab7536c047b29e.tar.gz
gdb-842e1f1ec460584708d95aa7ecab7536c047b29e.tar.bz2
* Makefile.in (arm-tdep.o): Update dependencies.
* arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h". (arm_gdbarch_init): Register dwarf2_frame_sniffer.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index be04169..fc7e8fe 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -37,6 +37,8 @@
#include "frame-unwind.h"
#include "frame-base.h"
#include "trad-frame.h"
+#include "objfiles.h"
+#include "dwarf2-frame.h"
#include "arm-tdep.h"
#include "gdb/sim-arm.h"
@@ -2754,6 +2756,7 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Add some default predicates. */
frame_unwind_append_sniffer (gdbarch, arm_stub_unwind_sniffer);
frame_unwind_append_sniffer (gdbarch, arm_sigtramp_unwind_sniffer);
+ frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer);
frame_unwind_append_sniffer (gdbarch, arm_prologue_unwind_sniffer);
/* Now we have tuned the configuration, set a few final things,