This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]