Because of different shell quoting rules, and the fact that LLDB commands often contain spaces, -O is not portable for writing command lines. Instead, we should use explicit lldbinit files. Differential Revision: https://reviews.llvm.org/D54680 llvm-svn: 347213
5 lines
174 B
Plaintext
5 lines
174 B
Plaintext
break set -f stop-hook-threads.cpp -p "Break here to test that the stop-hook"
|
|
run
|
|
target stop-hook add -x 2 -o "frame variable thread_index"
|
|
target stop-hook add -o continue
|