aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2006-11-09 16:36:58 +0000
committerJoel Brobecker <brobecker@gnat.com>2006-11-09 16:36:58 +0000
commitb5bf31df5b614d2b7238051d611d8022af19f504 (patch)
treeea632bb4dce8da1f8dfee9684b3c4c31b02d2389 /gdb/sparc-tdep.c
parentb0cbce8dce5542a6b1721ce24d460bba561475ae (diff)
downloadgdb-b5bf31df5b614d2b7238051d611d8022af19f504.zip
gdb-b5bf31df5b614d2b7238051d611d8022af19f504.tar.gz
gdb-b5bf31df5b614d2b7238051d611d8022af19f504.tar.bz2
* sparc-tdep.c (sparc_fetch_instruction): Read instruction
using read_memory_nobpt.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 6c6f276..27c852f 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -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;