aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vxmips.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-30 22:54:40 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-30 22:54:40 +0000
commit24e0595198db53c091cee0757a231d7639f72b73 (patch)
tree9c3c00d34b045591346142fd95ccc06d1bd43dd9 /gdb/remote-vxmips.c
parent613e114ff9d8c0f2bbe5177ef94f702123bb8885 (diff)
downloadgdb-24e0595198db53c091cee0757a231d7639f72b73.zip
gdb-24e0595198db53c091cee0757a231d7639f72b73.tar.gz
gdb-24e0595198db53c091cee0757a231d7639f72b73.tar.bz2
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h (PS_REGNUM): Delete. * mips-tdep.h (MIPS_PS_REGNUM): Add. * remote-vxmips.c, mipsv4-nat.c, mips-tdep.c: Update. * mips-linux-nat.c: Update.
Diffstat (limited to 'gdb/remote-vxmips.c')
-rw-r--r--gdb/remote-vxmips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-vxmips.c b/gdb/remote-vxmips.c
index 84e6c7d..c112ca9 100644
--- a/gdb/remote-vxmips.c
+++ b/gdb/remote-vxmips.c
@@ -108,7 +108,7 @@ vx_read_register (int regno)
/* Copy SR, LO, HI, and PC. */
- memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (PS_REGNUM)],
+ memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (MIPS_PS_REGNUM)],
&mips_greg_packet[MIPS_R_SR],
MIPS_GREG_SIZE);
memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->lo)],
@@ -173,7 +173,7 @@ vx_write_register (int regno)
/* Copy SR, LO, HI, and PC. */
memcpy (&mips_greg_packet[MIPS_R_SR],
- &deprecated_registers[DEPRECATED_REGISTER_BYTE (PS_REGNUM)],
+ &deprecated_registers[DEPRECATED_REGISTER_BYTE (MIPS_PS_REGNUM)],
MIPS_GREG_SIZE);
memcpy (&mips_greg_packet[MIPS_R_LO],
&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->lo)],