strace: Resume target threads with the debugger API not resume_thread().

This way, the thread will be resumed only after the kernel
has finished processing our debugger change requests written
to the same port.
This commit is contained in:
Augustin Cavalier
2024-07-17 11:07:32 -04:00
parent d75f6109c2
commit 189a9bbf63
+2 -2
View File
@@ -815,8 +815,8 @@ main(int argc, const char *const *argv)
exit(1);
}
// resume the target thread to be sure, it's running
resume_thread(threadID);
// resume the target thread to be sure it's running
continue_thread(nubPort, threadID);
}
thread_id currentThreadID = -1;