diff options
-rw-r--r-- | debugger.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -289,6 +289,9 @@ struct process *dbg_attach(pid_t pid, int child) { int dbg_detach(struct process *proc) { interrupt_all_threads(proc); + dbg_realcont(proc->threads.head); + usleep(100000); + interrupt_all_threads(proc); uninstall_breakpoints(proc->threads.head); free_breakpoints(proc); |