diff options
author | Joel Brobecker <brobecker@gnat.com> | 2006-08-08 21:32:48 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2006-08-08 21:32:48 +0000 |
commit | 359a926234e5b72f99e7e60d46b4886b5c9af0b2 (patch) | |
tree | fd438881b8692fc4a8a217b2c29678ad8181dec0 /gdb/s390-tdep.c | |
parent | 3841debee75d8a9718412490bfc147342861c777 (diff) | |
download | gdb-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/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index b7b372d..2fc939f 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -567,12 +567,12 @@ s390_readinstruction (bfd_byte instr[], CORE_ADDR at) static int s390_instrlen[] = { 2, 4, 4, 6 }; int instrlen; - if (deprecated_read_memory_nobpt (at, &instr[0], 2)) + if (read_memory_nobpt (at, &instr[0], 2)) return -1; instrlen = s390_instrlen[instr[0] >> 6]; if (instrlen > 2) { - if (deprecated_read_memory_nobpt (at + 2, &instr[2], instrlen - 2)) + if (read_memory_nobpt (at + 2, &instr[2], instrlen - 2)) return -1; } return instrlen; @@ -1196,19 +1196,19 @@ s390_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc) int d2; if (word_size == 4 - && !deprecated_read_memory_nobpt (pc - 4, insn, 4) + && !read_memory_nobpt (pc - 4, insn, 4) && is_rs (insn, op_lm, &r1, &r3, &d2, &b2) && r3 == S390_SP_REGNUM - S390_R0_REGNUM) return 1; if (word_size == 4 - && !deprecated_read_memory_nobpt (pc - 6, insn, 6) + && !read_memory_nobpt (pc - 6, insn, 6) && is_rsy (insn, op1_lmy, op2_lmy, &r1, &r3, &d2, &b2) && r3 == S390_SP_REGNUM - S390_R0_REGNUM) return 1; if (word_size == 8 - && !deprecated_read_memory_nobpt (pc - 6, insn, 6) + && !read_memory_nobpt (pc - 6, insn, 6) && is_rsy (insn, op1_lmg, op2_lmg, &r1, &r3, &d2, &b2) && r3 == S390_SP_REGNUM - S390_R0_REGNUM) return 1; @@ -1721,7 +1721,7 @@ s390_sigtramp_frame_sniffer (struct frame_info *next_frame) CORE_ADDR pc = frame_pc_unwind (next_frame); bfd_byte sigreturn[2]; - if (deprecated_read_memory_nobpt (pc, sigreturn, 2)) + if (read_memory_nobpt (pc, sigreturn, 2)) return NULL; if (sigreturn[0] != 0x0a /* svc */) |