* 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

@@ -99,7 +99,7 @@ sparc_fetch_instruction (CORE_ADDR pc)
int i;
/* 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;
insn = 0;