summaryrefslogtreecommitdiffstats
path: root/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit')
-rw-r--r--lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit b/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit
index f192d9952e9..004bd34abfb 100644
--- a/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit
+++ b/lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit
@@ -1,7 +1,7 @@
+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
-frame variable --show-globals g_val
+target stop-hook add -G true
+expr lldb_val += 1
thread list
-continue
DONE
OpenPOWER on IntegriCloud