diff options
-rw-r--r-- | debugger.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -286,8 +286,6 @@ static void resume_threads(struct process *proc) { static int wait_thread(struct thread *th) { if (th->id <= 0) { return -1; - } else if (th->stopped) { - return 1; } int status; @@ -536,7 +534,7 @@ void dbg_sync(struct process *proc) { struct list *threads = &proc->threads; for (struct thread *th = threads->head; th != threads->end; th = th->next) { if (th->id > 0) { - if (!th->stopped && wait_thread(th)) { + if (/*!th->stopped &&*/ wait_thread(th)) { acted = th; } else if (th->stopped && th->doing) { acted = th; |