aboutsummaryrefslogtreecommitdiff
path: root/gdb/lynx-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-17 15:42:21 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-17 15:42:21 +0000
commitefe59759d8d01aa611222e4d7000e41561945741 (patch)
tree50707fc956000e76f0502a8959764bb99b082cea /gdb/lynx-nat.c
parent627003499ddac21de88a2d00a0062e2f9407dcce (diff)
downloadgdb-efe59759d8d01aa611222e4d7000e41561945741.zip
gdb-efe59759d8d01aa611222e4d7000e41561945741.tar.gz
gdb-efe59759d8d01aa611222e4d7000e41561945741.tar.bz2
2003-09-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. * gdbarch.h, gdbarch.c: Regenerate. * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. * sparcnbsd-tdep.c: Update.
Diffstat (limited to 'gdb/lynx-nat.c')
-rw-r--r--gdb/lynx-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/lynx-nat.c b/gdb/lynx-nat.c
index fe5283d..bbd88b6 100644
--- a/gdb/lynx-nat.c
+++ b/gdb/lynx-nat.c
@@ -305,7 +305,7 @@ fetch_inferior_registers (int regno)
supply_register (PS_REGNUM, (char *) &ec.psr);
supply_register (Y_REGNUM, (char *) &ec.y);
supply_register (PC_REGNUM, (char *) &ec.pc);
- supply_register (NPC_REGNUM, (char *) &ec.npc);
+ supply_register (DEPRECATED_NPC_REGNUM, (char *) &ec.npc);
supply_register (WIM_REGNUM, (char *) &ec.wim);
memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (O0_REGNUM)], ec.o,
@@ -390,7 +390,7 @@ store_inferior_registers (int regno)
ec.psr = read_register (PS_REGNUM);
ec.y = read_register (Y_REGNUM);
ec.pc = read_register (PC_REGNUM);
- ec.npc = read_register (NPC_REGNUM);
+ ec.npc = read_register (DEPRECATED_NPC_REGNUM);
ec.wim = read_register (WIM_REGNUM);
memcpy (ec.o, &deprecated_registers[DEPRECATED_REGISTER_BYTE (O0_REGNUM)],