summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger.c b/debugger.c
index fdf74f9..bacd09c 100644
--- a/debugger.c
+++ b/debugger.c
@@ -221,7 +221,7 @@ static void interrupt_all_threads(struct process *proc) {
char state;
do {
state = thread_state(th);
- } while (state != 't' && state != 'D');
+ } while (state != 't' && state != 'D' && state != 'Z');
wait_thread(th);