summaryrefslogtreecommitdiffstats
path: root/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit')
-rw-r--r--lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit b/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit
index 467f60b1e1e..3b7d23953c3 100644
--- a/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit
+++ b/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit
@@ -1,4 +1,5 @@
+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 -x 2 -o "frame variable thread_index"
-target stop-hook add -o continue
+target stop-hook add -x 2 -o "expr lldb_val += 1" -o "thread list"
+target stop-hook add -G true -o "script print('Hit stop hook')
OpenPOWER on IntegriCloud