summaryrefslogtreecommitdiff
path: root/gdb/irix5-nat.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
commitb6baa4e097bc0bda7eb755e33d698cb3461c298c (patch)
tree701df68a9ced4791ae3d8169343dda08e451310f /gdb/irix5-nat.c
parentd7ebd083308d79b0978837fab53b7bda7a666575 (diff)
downloadgdb-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/irix5-nat.c')
-rw-r--r--gdb/irix5-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c
index 5cf60555f04..182a05a8a8e 100644
--- a/gdb/irix5-nat.c
+++ b/gdb/irix5-nat.c
@@ -182,7 +182,7 @@ get_longjmp_target (CORE_ADDR *pc)
CORE_ADDR jb_addr;
buf = alloca (TARGET_PTR_BIT / TARGET_CHAR_BIT);
- jb_addr = read_register (A0_REGNUM);
+ jb_addr = read_register (MIPS_A0_REGNUM);
if (target_read_memory (jb_addr + JB_PC * JB_ELEMENT_SIZE, buf,
TARGET_PTR_BIT / TARGET_CHAR_BIT))