aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/sparc-linux-tdep.c2
-rw-r--r--gdb/sparc64-linux-tdep.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a9d5974..ab2dc68 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-11 David S. Miller <davem@davemloft.net>
+
+ * sparc-linux-tdep.c, sparc64-linux-tdep.c: Use
+ dwarf2_append_unwinders(), not dwarf2_frame_sniffer.
+
2008-05-11 Ulrich Weigand <uweigand@de.ibm.com>
* 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 858d0ce..83d7589 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 906fd12..9f752b3 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);