aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2000-08-11 19:45:21 +0000
committerMark Kettenis <kettenis@gnu.org>2000-08-11 19:45:21 +0000
commitf0373401b56ac44b27fc13ecd39e5e7fa80b6c28 (patch)
tree3d7dd1575cc1df2cb3db447216cd0e83bcf93487 /gdb
parentf3d219244e0211d01acaec1c0b5d9901a254b69b (diff)
downloadgdb-f0373401b56ac44b27fc13ecd39e5e7fa80b6c28.zip
gdb-f0373401b56ac44b27fc13ecd39e5e7fa80b6c28.tar.gz
gdb-f0373401b56ac44b27fc13ecd39e5e7fa80b6c28.tar.bz2
* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
store_fpxregs): Return 0.
Diffstat (limited to 'gdb')
-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 */