diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-30 22:36:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-30 22:36:34 +0000 |
commit | b6baa4e097bc0bda7eb755e33d698cb3461c298c (patch) | |
tree | 701df68a9ced4791ae3d8169343dda08e451310f /gdb/remote-mips.c | |
parent | d7ebd083308d79b0978837fab53b7bda7a666575 (diff) | |
download | gdb-b6baa4e097bc0bda7eb755e33d698cb3461c298c.tar.gz |
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h: Add comments on registers.
(MIPS_UNUSED_REGNUM): Define.
* config/mips/tm-mips.h (ZERO_REGNUM, UNUSED_REGNUM)
(T9_REGNUM, V0_REGNUM, A0_REGNUM): Delete.
* irix5-nat.c, mipsv4-nat.c, mips-linux-tdep.c: Update.
* mips-linux-nat.c, remote-mips.c: Update.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 223033050d7..2b400667f07 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1905,7 +1905,7 @@ mips_fetch_registers (int regno) return; } - if (regno == DEPRECATED_FP_REGNUM || regno == ZERO_REGNUM) + if (regno == DEPRECATED_FP_REGNUM || regno == MIPS_ZERO_REGNUM) /* DEPRECATED_FP_REGNUM on the mips is a hack which is just supposed to read zero (see also mips-nat.c). */ val = 0; |