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
8 lines
165 B
Plaintext
8 lines
165 B
Plaintext
break set -f stop-hook-threads.cpp -p "Break here to test that the stop-hook"
|
|
run
|
|
target stop-hook add
|
|
frame variable --show-globals g_val
|
|
thread list
|
|
continue
|
|
DONE
|