diff options
author | Joel Brobecker <brobecker@gnat.com> | 2006-11-09 16:36:58 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2006-11-09 16:36:58 +0000 |
commit | 5e1833f4bb22e9a8fdb0740c9bfa7b0a8d9e5770 (patch) | |
tree | 79ef786a57338dd243d8508e59b5676311b33c48 /gdb/sparc-tdep.c | |
parent | 1b4a6d3eae361fd859d2f6fd9fddbf48e88245da (diff) | |
download | gdb-5e1833f4bb22e9a8fdb0740c9bfa7b0a8d9e5770.tar.gz |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 6c6f27692e0..27c852f2632 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; |