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]

[PATCH] Bugfix for i386-linux-nat.c


FYI, I checked in the following patch.  Should fix the problems Jimmy
reported.  Thanks Jimmy!

Mark


2000-08-11  Mark Kettenis  <kettenis@gnu.org>

	* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
	store_fpxregs): Return 0.


Index: i386-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-linux-nat.c,v
retrieving revision 1.14
diff -u -p -r1.14 i386-linux-nat.c
--- i386-linux-nat.c	2000/08/10 17:04:33	1.14
+++ i386-linux-nat.c	2000/08/11 18:55:14
@@ -505,8 +505,8 @@ dummy_sse_values (void)
 
 #else
 
-static int fetch_fpxregs (int tid) {}
-static int store_fpxregs (int tid, int regno) {}
+static int fetch_fpxregs (int tid) { return 0; }
+static int store_fpxregs (int tid, int regno) { return 0; }
 static void dummy_sse_values (void) {}
 
 #endif /* HAVE_PTRACE_GETFPXREGS */

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