diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-07 02:40:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-07 02:40:28 +0000 |
commit | 8262ee2317b7e0652a3bce7d82f0606b573e79a1 (patch) | |
tree | b7fa390056339a908f563c5e451d73c8afc8570f /gdb/i386gnu-nat.c | |
parent | 78e1bb40455fb219ff586f0d13c5175a01acdde1 (diff) | |
download | gdb-8262ee2317b7e0652a3bce7d82f0606b573e79a1.zip gdb-8262ee2317b7e0652a3bce7d82f0606b573e79a1.tar.gz gdb-8262ee2317b7e0652a3bce7d82f0606b573e79a1.tar.bz2 |
2002-11-06 Andrew Cagney <ac131313@redhat.com>
* regcache.h (deprecated_register_valid): Rename register_valid.
* regcache.c: Update.
* ia64-aix-nat.c: Update.
* i386gnu-nat.c: Update.
* alpha-nat.c: Update.
* sparc-nat.c: Update.
* lynx-nat.c: Update.
* remote-mips.c: Update.
Diffstat (limited to 'gdb/i386gnu-nat.c')
-rw-r--r-- | gdb/i386gnu-nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/i386gnu-nat.c b/gdb/i386gnu-nat.c index 3fa99a3..82f9ee5 100644 --- a/gdb/i386gnu-nat.c +++ b/gdb/i386gnu-nat.c @@ -184,7 +184,7 @@ store_fpregs (struct proc *thread, int regno) } /* FIXME: kettenis/2001-07-15: Is this right? Should we somehow - take into account REGISTER_VALID like the old code did? */ + take into account DEPRECATED_REGISTER_VALID like the old code did? */ i387_fill_fsave (state.hw_state, regno); err = thread_set_state (thread->port, i386_FLOAT_STATE, @@ -266,14 +266,14 @@ gnu_store_registers (int regno) proc_debug (thread, "storing all registers"); for (i = 0; i < I386_NUM_GREGS; i++) - if (register_valid[i]) + if (deprecated_register_valid[i]) fill (state, i); } else { proc_debug (thread, "storing register %s", REGISTER_NAME (regno)); - gdb_assert (register_valid[regno]); + gdb_assert (deprecated_register_valid[regno]); fill (state, regno); } |