diff options
author | Mark Kettenis <kettenis@gnu.org> | 2000-08-28 21:54:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2000-08-28 21:54:37 +0000 |
commit | 7c73ee4955d4a108f66927adb493a3c482576ca3 (patch) | |
tree | f34fe86be062caf4e7887224d5f3a05a58506a3c /gdb/i386-linux-nat.c | |
parent | beb564e29477757d19ab536150e198852bf4cc71 (diff) | |
download | gdb-7c73ee4955d4a108f66927adb493a3c482576ca3.tar.gz |
* i386-linux-nat.c (fetch_inferior_registers): Move call to
dummy_sse_values ...
(supply_fpregset): ... here.
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r-- | gdb/i386-linux-nat.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |