This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH]: Fix sparc*-linux build.
- From: David Miller <davem at davemloft dot net>
- To: gdb-patches at sourceware dot org
- Date: Sat, 10 May 2008 22:30:18 -0700 (PDT)
- Subject: [PATCH]: Fix sparc*-linux build.
Ok to apply?
2008-05-10 David S. Miller <davem@davemloft.net>
* sparc-linux-tdep.c, sparc64-linux-tdep.c: Use dwarf2_append_unwinders(),
not dwarf2_frame_sniffer.
Index: gdb/sparc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-linux-tdep.c,v
retrieving revision 1.25
diff -u -r1.25 sparc-linux-tdep.c
--- gdb/sparc-linux-tdep.c 30 Apr 2008 21:28:57 -0000 1.25
+++ gdb/sparc-linux-tdep.c 11 May 2008 05:28:11 -0000
@@ -250,7 +250,7 @@
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. */
Index: gdb/sparc64-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64-linux-tdep.c,v
retrieving revision 1.19
diff -u -r1.19 sparc64-linux-tdep.c
--- gdb/sparc64-linux-tdep.c 30 Apr 2008 21:28:57 -0000 1.19
+++ gdb/sparc64-linux-tdep.c 11 May 2008 05:28:11 -0000
@@ -192,7 +192,7 @@
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);