* sparc-tdep.c (sparc_fetch_instruction): Read instruction

using read_memory_nobpt.
This commit is contained in:
Joel Brobecker 2006-11-09 16:36:58 +00:00
parent b0cbce8dce
commit b5bf31df5b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-11-09 Joel Brobecker <brobecker@adacore.com>
* sparc-tdep.c (sparc_fetch_instruction): Read instruction
using read_memory_nobpt.
2006-11-06 Jim Blandy <jimb@codesourcery.com> 2006-11-06 Jim Blandy <jimb@codesourcery.com>
* (dwarf_expr_read_reg): Use frame_register_read, not frame_register. * (dwarf_expr_read_reg): Use frame_register_read, not frame_register.

View file

@ -99,7 +99,7 @@ sparc_fetch_instruction (CORE_ADDR pc)
int i; int i;
/* If we can't read the instruction at PC, return zero. */ /* If we can't read the instruction at PC, return zero. */
if (target_read_memory (pc, buf, sizeof (buf))) if (read_memory_nobpt (pc, buf, sizeof (buf)))
return 0; return 0;
insn = 0; insn = 0;