diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-05-10 17:38:16 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-05-10 17:38:16 +0000 |
commit | 60054393321258d1acc88f65169fb60589cb4b41 (patch) | |
tree | 2e14d4aa8da30649e52937f14b5da33bcc4f42e5 /gdb/core-regset.c | |
parent | 598ca718d00001789f64d2669c56f87acea2b3ca (diff) | |
download | fsf-binutils-gdb-60054393321258d1acc88f65169fb60589cb4b41.zip fsf-binutils-gdb-60054393321258d1acc88f65169fb60589cb4b41.tar.gz fsf-binutils-gdb-60054393321258d1acc88f65169fb60589cb4b41.tar.bz2 |
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
* gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
* gdbarch.c, gdbarch.h: Regenerate.
* core-regset.c: Change FP0_REGNUM to a runtime test.
* procfs.c: Ditto.
* sun3-nat.c: Ditto.
* sparc-tdep.c: Ditto.
* i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
* ptx4-nat.c: Ditto.
* sol-thread.c (sol_thread_create_inferior): only add the thread
to the thread list if it is not already in there.
(prototypes for thread_db func ptrs): pretty up formatting.
Diffstat (limited to 'gdb/core-regset.c')
-rw-r--r-- | gdb/core-regset.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/core-regset.c b/gdb/core-regset.c index 8f96c0f..3688027 100644 --- a/gdb/core-regset.c +++ b/gdb/core-regset.c @@ -109,9 +109,8 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) else { memcpy ((char *) &fpregset, core_reg_sect, sizeof (fpregset)); -#if defined (FP0_REGNUM) - supply_fpregset (&fpregset); -#endif + if (FP0_REGNUM >= 0) + supply_fpregset (&fpregset); } } #endif /* defined(HAVE_GREGSET_T) && defined (HAVE_FPREGSET_T) */ |