gdbserver: make linux target op 'cannot_store_register' a predicate function
[deliverable/binutils-gdb.git] / gdbserver / linux-nios2-low.cc
index 6e5d3084dad4172be9ef17508c6d47a898b85727..a8bb87a390efc1e9e242458401791f470205ab9b 100644 (file)
@@ -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;
This page took 0.024253 seconds and 4 git commands to generate.