When the debugger is run in sync mode, you need to be able to tell whether a hijacked resume is for some special purpose (like waiting for the SIGSTOP on attach) or just to perform a synchronous resume. Target::Launch was doing that wrong, and that caused stop-hooks on process launch in source files to behave incorrectly. <rdar://problem/48115661> Differential Revision: https://reviews.llvm.org/D58727 llvm-svn: 355213
8 lines
222 B
Plaintext
8 lines
222 B
Plaintext
break set -f stop-hook-threads.cpp -p "Break here to set up the stop hook"
|
|
break set -f stop-hook-threads.cpp -p "Break here to test that the stop-hook"
|
|
run
|
|
target stop-hook add -G true
|
|
expr lldb_val += 1
|
|
thread list
|
|
DONE
|