[Lldb-commits] [PATCH] D12976: Fix TestChangeProcessGroup to properly step out of sleep.
Chaoren Lin via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 18 11:00:13 PDT 2015
chaoren updated this revision to Diff 35113.
chaoren added a comment.
Remove old line.
http://reviews.llvm.org/D12976
Files:
test/functionalities/process_group/TestChangeProcessGroup.py
Index: test/functionalities/process_group/TestChangeProcessGroup.py
===================================================================
--- test/functionalities/process_group/TestChangeProcessGroup.py
+++ test/functionalities/process_group/TestChangeProcessGroup.py
@@ -91,7 +91,11 @@
thread = process.GetSelectedThread()
# this gives a chance for the thread to exit the sleep syscall and sidesteps
# <https://llvm.org/bugs/show_bug.cgi?id=23659> on linux
- thread.StepInstruction(False)
+ while True:
+ frame = thread.GetSelectedFrame()
+ if frame.GetFunctionName() == 'main':
+ break
+ thread.StepOutOfFrame(frame)
# release the child from its loop
self.expect("expr release_child_flag = 1", substrs = ["= 1"])
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12976.35113.patch
Type: text/x-patch
Size: 822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150918/ae252bbf/attachment.bin>
More information about the lldb-commits
mailing list