From b5bf31df5b614d2b7238051d611d8022af19f504 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 9 Nov 2006 16:36:58 +0000 Subject: [PATCH] * sparc-tdep.c (sparc_fetch_instruction): Read instruction using read_memory_nobpt. --- gdb/ChangeLog | 5 +++++ gdb/sparc-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00248d62d9..7347c4c72a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-11-09 Joel Brobecker + + * sparc-tdep.c (sparc_fetch_instruction): Read instruction + using read_memory_nobpt. + 2006-11-06 Jim Blandy * (dwarf_expr_read_reg): Use frame_register_read, not frame_register. diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 6c6f27692e..27c852f263 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;