aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i386-linux-nat.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index be8be3f..a855006 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-11 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
+ store_fpxregs): Return 0.
+
2000-08-11 Andrew Cagney <cagney@lulu.cygnus.com>
* regcache.c (GET_SAVED_REGISTER): Restore definition. Was lost
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index 0e03d7f..61ebd40 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -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 */