diff options
Diffstat (limited to 'debugger.c')
-rw-r--r-- | debugger.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -546,7 +546,7 @@ int dbg_free(struct thread *th) { return -1; } -void dbg_sync(struct process *proc) { +int dbg_sync(struct process *proc) { struct thread *acted = NULL; struct list *threads = &proc->threads; @@ -566,6 +566,8 @@ void dbg_sync(struct process *proc) { capture_state(proc); resume_threads(proc); } + + return acted != NULL; } int dbg_intr(struct thread *th) { |