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 | b5bf31df5b614d2b7238051d611d8022af19f504 (patch) | |
tree | ea632bb4dce8da1f8dfee9684b3c4c31b02d2389 /gdb | |
parent | b0cbce8dce5542a6b1721ce24d460bba561475ae (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sparc-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00248d6..7347c4c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * (dwarf_expr_read_reg): Use frame_register_read, not frame_register. 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; |