* linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped.
[deliverable/binutils-gdb.git] / gdb / gdbserver / server.c
index 460cb46beca1d91fbb3e75fef330203b34062686..ffca3977f39b6dd61c53f340b4fd01a98a84b0cc 100644 (file)
@@ -3031,7 +3031,10 @@ handle_target_event (int err, gdb_client_data client_data)
 
       if (last_status.kind == TARGET_WAITKIND_EXITED
          || last_status.kind == TARGET_WAITKIND_SIGNALLED)
-       mourn_inferior (process);
+       {
+         mark_breakpoints_out (process);
+         mourn_inferior (process);
+       }
 
       if (forward_event)
        {
This page took 0.024913 seconds and 4 git commands to generate.