This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Bugfix for i386-linux-nat.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] Bugfix for i386-linux-nat.c
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Fri, 11 Aug 2000 21:51:26 +0200
- CC: guo at cup dot hp dot com
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 */