diff options
author | Jim Ingham <jingham@apple.com> | 2019-03-01 18:13:38 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2019-03-01 18:13:38 +0000 |
commit | 3139fc976795c1cb29c46b4c5cb7c571e619a73c (patch) | |
tree | cef747669300658cba860bea52640587bb13c455 /lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit | |
parent | 21f7c35df1de6c2b16aa663e26cb4d09099118a2 (diff) | |
download | bcm5719-llvm-3139fc976795c1cb29c46b4c5cb7c571e619a73c.tar.gz bcm5719-llvm-3139fc976795c1cb29c46b4c5cb7c571e619a73c.zip |
Resubmit r354706 with a fix for process launch.
When the debugger is run in sync mode, you need to
be able to tell whether a hijacked resume is for some
special purpose (like waiting for the SIGSTOP on attach)
or just to perform a synchronous resume. Target::Launch was doing
that wrong, and that caused stop-hooks on process launch
in source files to behave incorrectly.
<rdar://problem/48115661>
Differential Revision: https://reviews.llvm.org/D58727
llvm-svn: 355213
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.lldbinit | 6 |
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 |