summaryrefslogtreecommitdiffstats
path: root/debugger.c
diff options
context:
space:
mode:
Diffstat (limited to 'debugger.c')
-rw-r--r--debugger.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/debugger.c b/debugger.c
index 33bdbc0..7378298 100644
--- a/debugger.c
+++ b/debugger.c
@@ -412,6 +412,8 @@ static int wait_thread(struct thread *th) {
strcpy(eventth->status, "EXITED");
}
+ free_breakpoints(th->proc);
+
th->stopped = 1;
th->signal = 0;
th->doing = 0;