aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-17 17:01:32 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-17 17:01:32 +0000
commitadc11376dd08690644a0cbcd7745ca076948fbcd (patch)
tree8d9e47327104c673d5bdf7957e74597d2914e7ec /gdb/hppa-tdep.c
parentb6cb9035d037b0a09a75844dd4a37d5fa0a16359 (diff)
downloadgdb-adc11376dd08690644a0cbcd7745ca076948fbcd.zip
gdb-adc11376dd08690644a0cbcd7745ca076948fbcd.tar.gz
gdb-adc11376dd08690644a0cbcd7745ca076948fbcd.tar.bz2
2004-01-17 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c: Update copyright year. (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of NPC_REGNUM. (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 58ad55d..4673677 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -1,7 +1,8 @@
/* Target-dependent code for the HP PA architecture, for GDB.
Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
- 1996, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
+ Foundation, Inc.
Contributed by the Center for Software Science at the
University of Utah (pa-gdb-bugs@cs.utah.edu).
@@ -2609,7 +2610,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 (DEPRECATED_NPC_REGNUM, v + 4, ptid);
+ write_register_pid (PCOQ_TAIL_REGNUM, v + 4, ptid);
}
/* return the alignment of a type in bytes. Structures have the maximum
@@ -5201,7 +5202,6 @@ 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_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);