gdbarch_breakpoint_from_pc doesn't return NULL
[deliverable/binutils-gdb.git] / gdb / mem-break.c
index 803f62b704b3700f0d1381994a3840b94c64eaa4..cc8145c4c38bcbeabecaf07b0194065a3aff7cb0 100644 (file)
@@ -45,8 +45,6 @@ default_memory_insert_breakpoint (struct gdbarch *gdbarch,
 
   /* Determine appropriate breakpoint contents and size for this address.  */
   bp = gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen);
-  if (bp == NULL)
-    error (_("Software breakpoints not implemented for this target."));
 
   bp_tgt->placed_address = addr;
   bp_tgt->placed_size = bplen;
This page took 0.023551 seconds and 4 git commands to generate.