More assert checks on reinsert breakpoint
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-low.c
index 77c296ca2a1970ff0c8a6a9573ad90de7e53da81..5f025b5553ff9e052c0eec93492cedfde4bfc7fe 100644 (file)
@@ -4237,6 +4237,12 @@ linux_resume_one_lwp_throw (struct lwp_info *lwp,
 
       step = maybe_hw_step (thread);
     }
+  else
+    {
+      /* If the thread isn't doing step-over, there shouldn't be any
+        reinsert breakpoints.  */
+      gdb_assert (!has_reinsert_breakpoints (proc));
+    }
 
   if (fast_tp_collecting == 1)
     {
This page took 0.024688 seconds and 4 git commands to generate.