From 5e1833f4bb22e9a8fdb0740c9bfa7b0a8d9e5770 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 9 Nov 2006 16:36:58 +0000 Subject: * sparc-tdep.c (sparc_fetch_instruction): Read instruction using read_memory_nobpt. --- gdb/sparc-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/sparc-tdep.c') 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; -- cgit v1.2.1