From 842e1f1ec460584708d95aa7ecab7536c047b29e Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 29 Mar 2005 16:56:40 +0000 Subject: [PATCH] * Makefile.in (arm-tdep.o): Update dependencies. * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h". (arm_gdbarch_init): Register dwarf2_frame_sniffer. --- gdb/ChangeLog | 6 ++++++ gdb/arm-tdep.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e43353526b5..fafdb9196f5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-03-29 Daniel Jacobowitz + + * Makefile.in (arm-tdep.o): Update dependencies. + * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h". + (arm_gdbarch_init): Register dwarf2_frame_sniffer. + 2005-03-28 Joel Brobecker * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index be04169ec33..fc7e8feef43 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, -- 2.30.2