aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-linux-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/sparc-linux-nat.c
parent627003499ddac21de88a2d00a0062e2f9407dcce (diff)
downloadfsf-binutils-gdb-efe59759d8d01aa611222e4d7000e41561945741.zip
fsf-binutils-gdb-efe59759d8d01aa611222e4d7000e41561945741.tar.gz
fsf-binutils-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/sparc-linux-nat.c')
-rw-r--r--gdb/sparc-linux-nat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/sparc-linux-nat.c b/gdb/sparc-linux-nat.c
index 261ed60..f43cb59 100644
--- a/gdb/sparc-linux-nat.c
+++ b/gdb/sparc-linux-nat.c
@@ -40,7 +40,7 @@ supply_gregset (elf_gregset_t *gregsetp)
supply_register (PS_REGNUM, (char *) (regp + 32));
supply_register (PC_REGNUM, (char *) (regp + 33));
- supply_register (NPC_REGNUM, (char *) (regp + 34));
+ supply_register (DEPRECATED_NPC_REGNUM, (char *) (regp + 34));
supply_register (Y_REGNUM, (char *) (regp + 35));
supply_register (WIM_REGNUM, (char *) (regp + 36));
@@ -65,8 +65,8 @@ fill_gregset (elf_gregset_t *gregsetp, int regno)
if (regno == -1 || regno == PC_REGNUM)
regcache_collect (PC_REGNUM, regp + 33);
- if (regno == -1 || regno == NPC_REGNUM)
- regcache_collect (NPC_REGNUM, regp + 34);
+ if (regno == -1 || regno == DEPRECATED_NPC_REGNUM)
+ regcache_collect (DEPRECATED_NPC_REGNUM, regp + 34);
if (regno == -1 || regno == Y_REGNUM)
regcache_collect (Y_REGNUM, regp + 35);