From: Mark Kettenis Date: Mon, 28 Aug 2000 21:54:37 +0000 (+0000) Subject: * i386-linux-nat.c (fetch_inferior_registers): Move call to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=756ed20662a5a24a1e20d6b73ecd7aa5527ecdb9;p=binutils-gdb.git * i386-linux-nat.c (fetch_inferior_registers): Move call to dummy_sse_values ... (supply_fpregset): ... here. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 688010902ad..44db6b146a2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2000-08-27 Mark Kettenis + + * i386-linux-nat.c (fetch_inferior_registers): Move call to + dummy_sse_values ... + (supply_fpregset): ... here. + 2000-08-27 Elena Zannoni * pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 61ebd40066a..49149830e84 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; }