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/sparcnbsd-tdep.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/sparcnbsd-tdep.c')
-rw-r--r-- | gdb/sparcnbsd-tdep.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/sparcnbsd-tdep.c b/gdb/sparcnbsd-tdep.c index 6cd0e3f..f259507 100644 --- a/gdb/sparcnbsd-tdep.c +++ b/gdb/sparcnbsd-tdep.c @@ -59,8 +59,8 @@ sparcnbsd_supply_reg32 (char *regs, int regno) if (regno == PC_REGNUM || regno == -1) supply_register (PC_REGNUM, regs + REG32_OFFSET_PC); - if (regno == NPC_REGNUM || regno == -1) - supply_register (NPC_REGNUM, regs + REG32_OFFSET_NPC); + if (regno == DEPRECATED_NPC_REGNUM || regno == -1) + supply_register (DEPRECATED_NPC_REGNUM, regs + REG32_OFFSET_NPC); if (regno == Y_REGNUM || regno == -1) supply_register (Y_REGNUM, regs + REG32_OFFSET_Y); @@ -126,8 +126,8 @@ sparcnbsd_supply_reg64 (char *regs, int regno) if (regno == PC_REGNUM || regno == -1) supply_register (PC_REGNUM, regs + REG64_OFFSET_PC); - if (regno == NPC_REGNUM || regno == -1) - supply_register (NPC_REGNUM, regs + REG64_OFFSET_NPC); + if (regno == DEPRECATED_NPC_REGNUM || regno == -1) + supply_register (DEPRECATED_NPC_REGNUM, regs + REG64_OFFSET_NPC); if (regno == Y_REGNUM || regno == -1) { @@ -220,8 +220,8 @@ sparcnbsd_fill_reg32 (char *regs, int regno) if (regno == PC_REGNUM || regno == -1) regcache_collect (PC_REGNUM, regs + REG32_OFFSET_PC); - if (regno == NPC_REGNUM || regno == -1) - regcache_collect (NPC_REGNUM, regs + REG32_OFFSET_NPC); + if (regno == DEPRECATED_NPC_REGNUM || regno == -1) + regcache_collect (DEPRECATED_NPC_REGNUM, regs + REG32_OFFSET_NPC); if (regno == Y_REGNUM || regno == -1) regcache_collect (Y_REGNUM, regs + REG32_OFFSET_Y); @@ -261,8 +261,8 @@ sparcnbsd_fill_reg64 (char *regs, int regno) if (regno == PC_REGNUM || regno == -1) regcache_collect (PC_REGNUM, regs + REG64_OFFSET_PC); - if (regno == NPC_REGNUM || regno == -1) - regcache_collect (NPC_REGNUM, regs + REG64_OFFSET_NPC); + if (regno == DEPRECATED_NPC_REGNUM || regno == -1) + regcache_collect (DEPRECATED_NPC_REGNUM, regs + REG64_OFFSET_NPC); if (regno == Y_REGNUM || regno == -1) regcache_collect (Y_REGNUM, regs + REG64_OFFSET_Y); |