This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob/6.0] Fix a new sparc build failure
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 29 Jun 2003 17:16:53 -0400
- Subject: [ob/6.0] Fix a new sparc build failure
sparc_y_regnum is mentioned in the tm header, so sparc-nat.c actually
references it. Fixes another sparc-native build failure; checked in.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-06-29 Daniel Jacobowitz <drow@mvista.com>
* sparc-tdep.c (sparc_y_regnum): Make external again.
--- gdb-5.3.20030629/gdb/sparc-tdep.c.orig 2003-06-29 17:10:00.000000000 -0400
+++ gdb-5.3.20030629/gdb/sparc-tdep.c 2003-06-29 17:10:09.000000000 -0400
@@ -3188,7 +3188,7 @@ sparc_call_dummy_address (void)
/* Supply the Y register number to those that need it. */
-static int
+int
sparc_y_regnum (void)
{
return gdbarch_tdep (current_gdbarch)->y_regnum;