From 756ed20662a5a24a1e20d6b73ecd7aa5527ecdb9 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 28 Aug 2000 21:54:37 +0000 Subject: * i386-linux-nat.c (fetch_inferior_registers): Move call to dummy_sse_values ... (supply_fpregset): ... here. --- gdb/i386-linux-nat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb/i386-linux-nat.c') diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 61ebd40..4914983 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -41,6 +41,9 @@ /* Prototypes for i387_supply_fsave etc. */ #include "i387-nat.h" +/* Prototypes for local functions. */ +static void dummy_sse_values (void); + /* On Linux, threads are implemented as pseudo-processes, in which case we may be tracing more than one process at a time. In that case, inferior_pid will contain the main process ID and the @@ -358,6 +361,7 @@ void supply_fpregset (elf_fpregset_t *fpregsetp) { i387_supply_fsave ((char *) fpregsetp); + dummy_sse_values (); } /* Fill register REGNO (if it is a floating-point register) in @@ -574,7 +578,6 @@ fetch_inferior_registers (int regno) gdbarch. Until then, this will at least make things work plausibly. */ fetch_fpregs (tid); - dummy_sse_values (); return; } -- cgit v1.1