diff options
Diffstat (limited to 'gdbserver/linux-nios2-low.cc')
-rw-r--r-- | gdbserver/linux-nios2-low.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbserver/linux-nios2-low.cc b/gdbserver/linux-nios2-low.cc index 6e5d308..a8bb87a 100644 --- a/gdbserver/linux-nios2-low.cc +++ b/gdbserver/linux-nios2-low.cc @@ -131,12 +131,12 @@ nios2_breakpoint_at (CORE_ADDR where) /* For R2, first check for the 2-byte CDX trap.n breakpoint encoding. */ #if defined(__nios2_arch__) && __nios2_arch__ == 2 - the_target->pt->read_memory (where, (unsigned char *) &insn, 2); + the_target->read_memory (where, (unsigned char *) &insn, 2); if (insn == CDX_BREAKPOINT) return 1; #endif - the_target->pt->read_memory (where, (unsigned char *) &insn, 4); + the_target->read_memory (where, (unsigned char *) &insn, 4); if (insn == nios2_breakpoint) return 1; return 0; |