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/hppa-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/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index de11549..0670807 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -2630,7 +2630,7 @@ hppa_target_write_pc (CORE_ADDR v, ptid_t ptid) write_register_pid (31, v | 0x3, ptid); write_register_pid (PC_REGNUM, v, ptid); - write_register_pid (NPC_REGNUM, v + 4, ptid); + write_register_pid (DEPRECATED_NPC_REGNUM, v + 4, ptid); } /* return the alignment of a type in bytes. Structures have the maximum @@ -5178,7 +5178,7 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_sp_regnum (gdbarch, 30); set_gdbarch_fp0_regnum (gdbarch, 64); set_gdbarch_pc_regnum (gdbarch, PCOQ_HEAD_REGNUM); - set_gdbarch_npc_regnum (gdbarch, PCOQ_TAIL_REGNUM); + set_gdbarch_deprecated_npc_regnum (gdbarch, PCOQ_TAIL_REGNUM); set_gdbarch_deprecated_register_raw_size (gdbarch, hppa_register_raw_size); set_gdbarch_deprecated_register_byte (gdbarch, hppa_register_byte); set_gdbarch_deprecated_register_virtual_size (gdbarch, hppa_register_raw_size); |