From f0373401b56ac44b27fc13ecd39e5e7fa80b6c28 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 11 Aug 2000 19:45:21 +0000 Subject: [PATCH] * i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs, store_fpxregs): Return 0. --- gdb/ChangeLog | 5 +++++ gdb/i386-linux-nat.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index be8be3f269..a8550065ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-08-11 Mark Kettenis + + * i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs, + store_fpxregs): Return 0. + 2000-08-11 Andrew Cagney * regcache.c (GET_SAVED_REGISTER): Restore definition. Was lost diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 0e03d7f59c..61ebd40066 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 */ -- 2.34.1