aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-30 22:36:34 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-30 22:36:34 +0000
commit613e114ff9d8c0f2bbe5177ef94f702123bb8885 (patch)
tree0430c3bc647f9b87f9b1b8867b9f74b36dfd8db1 /gdb/remote-mips.c
parentd37cca3d684da261b7982e9b854d532048a355e2 (diff)
downloadgdb-613e114ff9d8c0f2bbe5177ef94f702123bb8885.zip
gdb-613e114ff9d8c0f2bbe5177ef94f702123bb8885.tar.gz
gdb-613e114ff9d8c0f2bbe5177ef94f702123bb8885.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index 2230330..2b40066 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;