diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-17 15:42:21 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-17 15:42:21 +0000 |
commit | efe59759d8d01aa611222e4d7000e41561945741 (patch) | |
tree | 50707fc956000e76f0502a8959764bb99b082cea /gdb/sparc-linux-nat.c | |
parent | 627003499ddac21de88a2d00a0062e2f9407dcce (diff) | |
download | gdb-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/sparc-linux-nat.c')
-rw-r--r-- | gdb/sparc-linux-nat.c | 6 |
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); |