Files
clang-p2996/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit
Zachary Turner 28d0131d40 Don't use -O in lit tests.
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
2018-11-19 15:06:10 +00:00

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