aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2006-08-08 21:32:48 +0000
committerJoel Brobecker <brobecker@gnat.com>2006-08-08 21:32:48 +0000
commit359a926234e5b72f99e7e60d46b4886b5c9af0b2 (patch)
treefd438881b8692fc4a8a217b2c29678ad8181dec0 /gdb/hppa-tdep.c
parent3841debee75d8a9718412490bfc147342861c777 (diff)
downloadgdb-359a926234e5b72f99e7e60d46b4886b5c9af0b2.zip
gdb-359a926234e5b72f99e7e60d46b4886b5c9af0b2.tar.gz
gdb-359a926234e5b72f99e7e60d46b4886b5c9af0b2.tar.bz2
* gdbcore.h (read_memory_nobpt): New function name instead of
deprecated_read_memory_nobpt. * breakpoint.c (read_memory_nobpt): New function name instead of deprecated_read_memory_nobpt. Adjust calls to old deprecated_read_memory_nobpt accordingly. * alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt accordingly. * alphanbsd-tdep.c: Likewise. * frame.c: Likewise. * frv-tdep.c: Likewise. * hppa-linux-tdep.c: Likewise. * hppa-tdep.c: Likewise. * i386-linux-nat.c: Likewise. * m68klinux-tdep.c: Likewise. * mips-tdep.c: Likewise. * s390-tdep.c: Likewise.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 50dac1b..8401bef 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -549,7 +549,7 @@ hppa_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc)
char buf[4];
int off;
- status = deprecated_read_memory_nobpt (pc, buf, 4);
+ status = read_memory_nobpt (pc, buf, 4);
if (status != 0)
return 0;
@@ -1555,7 +1555,7 @@ restart:
old_save_sp = save_sp;
old_stack_remaining = stack_remaining;
- status = deprecated_read_memory_nobpt (pc, buf, 4);
+ status = read_memory_nobpt (pc, buf, 4);
inst = extract_unsigned_integer (buf, 4);
/* Yow! */
@@ -1604,7 +1604,7 @@ restart:
while (reg_num >= (TARGET_PTR_BIT == 64 ? 19 : 23) && reg_num <= 26)
{
pc += 4;
- status = deprecated_read_memory_nobpt (pc, buf, 4);
+ status = read_memory_nobpt (pc, buf, 4);
inst = extract_unsigned_integer (buf, 4);
if (status != 0)
return pc;
@@ -1617,7 +1617,7 @@ restart:
reg_num = inst_saves_fr (inst);
save_fr &= ~(1 << reg_num);
- status = deprecated_read_memory_nobpt (pc + 4, buf, 4);
+ status = read_memory_nobpt (pc + 4, buf, 4);
next_inst = extract_unsigned_integer (buf, 4);
/* Yow! */
@@ -1644,13 +1644,13 @@ restart:
while (reg_num >= 4 && reg_num <= (TARGET_PTR_BIT == 64 ? 11 : 7))
{
pc += 8;
- status = deprecated_read_memory_nobpt (pc, buf, 4);
+ status = read_memory_nobpt (pc, buf, 4);
inst = extract_unsigned_integer (buf, 4);
if (status != 0)
return pc;
if ((inst & 0xfc000000) != 0x34000000)
break;
- status = deprecated_read_memory_nobpt (pc + 4, buf, 4);
+ status = read_memory_nobpt (pc + 4, buf, 4);
next_inst = extract_unsigned_integer (buf, 4);
if (status != 0)
return pc;
@@ -2855,7 +2855,7 @@ hppa_match_insns (CORE_ADDR pc, struct insn_pattern *pattern,
{
gdb_byte buf[HPPA_INSN_SIZE];
- deprecated_read_memory_nobpt (npc, buf, HPPA_INSN_SIZE);
+ read_memory_nobpt (npc, buf, HPPA_INSN_SIZE);
insn[i] = extract_unsigned_integer (buf, HPPA_INSN_SIZE);
if ((insn[i] & pattern[i].mask) == pattern[i].data)
npc += 4;