forked from Imagelibrary/binutils-gdb
2004-07-20 Andrew Cagney <cagney@gnu.org>
* breakpoint.c (deprecated_read_memory_nobpt): Rename read_memory_nobpt. * sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update. * s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p) (s390_sigtramp_frame_sniffer): Update. * mn10300-tdep.c (mn10300_analyze_prologue): Update. * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update. * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction) (mips32_fetch_instruction): Update. * mcore-tdep.c (get_insn): Update. * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update. * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update. * i386ly-tdep.c (i386lynx_saved_pc_after_call): Update. * i386-linux-tdep.c (i386_linux_sigtramp_start) (i386_linux_rt_sigtramp_start): Update. * i386-linux-nat.c (child_resume): Update. * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update. * hppa-linux-tdep.c (insns_match_pattern): Update. * gdbcore.h: Update. * frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update. * frame.c (safe_frame_unwind_memory): Update. * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update. * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update. * alpha-tdep.c (alpha_read_insn): Update.
This commit is contained in:
@@ -557,7 +557,7 @@ mn10300_analyze_prologue (struct frame_info *fi, CORE_ADDR pc)
|
||||
|
||||
/* Get the next two bytes into buf, we need two because rets is a two
|
||||
byte insn and the first isn't enough to uniquely identify it. */
|
||||
status = read_memory_nobpt (pc, buf, 2);
|
||||
status = deprecated_read_memory_nobpt (pc, buf, 2);
|
||||
if (status != 0)
|
||||
return pc;
|
||||
|
||||
@@ -597,7 +597,7 @@ mn10300_analyze_prologue (struct frame_info *fi, CORE_ADDR pc)
|
||||
|
||||
/* Suck in two bytes. */
|
||||
if (addr + 2 >= stop
|
||||
|| (status = read_memory_nobpt (addr, buf, 2)) != 0)
|
||||
|| (status = deprecated_read_memory_nobpt (addr, buf, 2)) != 0)
|
||||
{
|
||||
fix_frame_pointer (fi, 0);
|
||||
return addr;
|
||||
@@ -621,7 +621,7 @@ mn10300_analyze_prologue (struct frame_info *fi, CORE_ADDR pc)
|
||||
if (buf[0] == 0xcf)
|
||||
{
|
||||
/* Extract the register list for the movm instruction. */
|
||||
status = read_memory_nobpt (addr + 1, buf, 1);
|
||||
status = deprecated_read_memory_nobpt (addr + 1, buf, 1);
|
||||
movm_args = *buf;
|
||||
|
||||
addr += 2;
|
||||
@@ -639,7 +639,7 @@ mn10300_analyze_prologue (struct frame_info *fi, CORE_ADDR pc)
|
||||
}
|
||||
|
||||
/* Get the next two bytes so the prologue scan can continue. */
|
||||
status = read_memory_nobpt (addr, buf, 2);
|
||||
status = deprecated_read_memory_nobpt (addr, buf, 2);
|
||||
if (status != 0)
|
||||
{
|
||||
/* Fix fi->frame since it's bogus at this point. */
|
||||
@@ -676,7 +676,7 @@ mn10300_analyze_prologue (struct frame_info *fi, CORE_ADDR pc)
|
||||
}
|
||||
|
||||
/* Get two more bytes so scanning can continue. */
|
||||
status = read_memory_nobpt (addr, buf, 2);
|
||||
status = deprecated_read_memory_nobpt (addr, buf, 2);
|
||||
if (status != 0)
|
||||
{
|
||||
/* Fix fi->frame if it's bogus at this point. */
|
||||
@@ -698,7 +698,7 @@ mn10300_analyze_prologue (struct frame_info *fi, CORE_ADDR pc)
|
||||
If none of the above was found, then this prologue has no
|
||||
additional stack. */
|
||||
|
||||
status = read_memory_nobpt (addr, buf, 2);
|
||||
status = deprecated_read_memory_nobpt (addr, buf, 2);
|
||||
if (status != 0)
|
||||
{
|
||||
/* Fix fi->frame if it's bogus at this point. */
|
||||
@@ -721,7 +721,7 @@ mn10300_analyze_prologue (struct frame_info *fi, CORE_ADDR pc)
|
||||
{
|
||||
/* Suck in imm_size more bytes, they'll hold the size of the
|
||||
current frame. */
|
||||
status = read_memory_nobpt (addr + 2, buf, imm_size);
|
||||
status = deprecated_read_memory_nobpt (addr + 2, buf, imm_size);
|
||||
if (status != 0)
|
||||
{
|
||||
/* Fix fi->frame if it's bogus at this point. */
|
||||
|
||||
Reference in New Issue
Block a user