From 87a7da84fb7962a7e52700eb154a959166e17eac Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sun, 11 May 2008 20:03:26 +0000 Subject: [PATCH] * sparc-linux-tdep.c, sparc64-linux-tdep.c: Use dwarf2_append_unwinders(), not dwarf2_frame_sniffer. --- gdb/ChangeLog | 5 +++++ gdb/sparc-linux-tdep.c | 2 +- gdb/sparc64-linux-tdep.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a9d59746f6b..ab2dc68216d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-05-11 David S. Miller + + * sparc-linux-tdep.c, sparc64-linux-tdep.c: Use + dwarf2_append_unwinders(), not dwarf2_frame_sniffer. + 2008-05-11 Ulrich Weigand * rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc diff --git a/gdb/sparc-linux-tdep.c b/gdb/sparc-linux-tdep.c index 858d0ce7091..83d7589d1fe 100644 --- a/gdb/sparc-linux-tdep.c +++ b/gdb/sparc-linux-tdep.c @@ -250,7 +250,7 @@ sparc32_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tdep->step_trap = sparc32_linux_step_trap; /* Hook in the DWARF CFI frame unwinder. */ - frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer); + dwarf2_append_unwinders (gdbarch); } /* Provide a prototype to silence -Wmissing-prototypes. */ diff --git a/gdb/sparc64-linux-tdep.c b/gdb/sparc64-linux-tdep.c index 906fd122a51..9f752b38dbb 100644 --- a/gdb/sparc64-linux-tdep.c +++ b/gdb/sparc64-linux-tdep.c @@ -192,7 +192,7 @@ sparc64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tramp_frame_prepend_unwinder (gdbarch, &sparc64_linux_rt_sigframe); /* Hook in the DWARF CFI frame unwinder. */ - frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer); + dwarf2_append_unwinders (gdbarch); sparc64_init_abi (info, gdbarch); -- 2.30.2