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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user