summaryrefslogtreecommitdiff
path: root/gdb/core-sol2.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
commit33fa9e60fb6f0719710658f838cf48f4697766a7 (patch)
treee67a202f21aea1dbd8f7af716eac26375dbda667 /gdb/core-sol2.c
parent9eec4da2674d205e86809c3d18ff781e32ee0f14 (diff)
downloadgdb-33fa9e60fb6f0719710658f838cf48f4697766a7.tar.gz
2003-09-17 Andrew Cagney <cagney@redhat.com>carlton_dictionary-20030917-merge
* 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/core-sol2.c')
-rw-r--r--gdb/core-sol2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/core-sol2.c b/gdb/core-sol2.c
index e4a25eb68c6..a3652333a16 100644
--- a/gdb/core-sol2.c
+++ b/gdb/core-sol2.c
@@ -103,7 +103,7 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which,
= gregs->r_ps;
*(int *) &deprecated_registers[DEPRECATED_REGISTER_BYTE (PC_REGNUM)]
= gregs->r_pc;
- *(int *) &deprecated_registers[DEPRECATED_REGISTER_BYTE (NPC_REGNUM)]
+ *(int *) &deprecated_registers[DEPRECATED_REGISTER_BYTE (DEPRECATED_NPC_REGNUM)]
= gregs->r_npc;
*(int *) &deprecated_registers[DEPRECATED_REGISTER_BYTE (Y_REGNUM)]
= gregs->r_y;