summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-03-10 22:32:47 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-03-10 22:32:47 +0000
commitf93286f20c796d72e74e71d3baf2291412d3d4d7 (patch)
tree1709c0479acbdb8a94e68e785b37c80fa067d027 /lldb/test/python_api/thread/main2.cpp
parentb904ca50151b1207203bd1a28f121c08dcff04e8 (diff)
downloadbcm5719-llvm-f93286f20c796d72e74e71d3baf2291412d3d4d7.tar.gz
bcm5719-llvm-f93286f20c796d72e74e71d3baf2291412d3d4d7.zip
Add test cases to TestThreadAPI.py to exercise SBThread.StepOver() by stopping at a breakpoint,
doing three step-over's, then verifying that the correct source line number is reached. llvm-svn: 127432
Diffstat (limited to 'lldb/test/python_api/thread/main2.cpp')
-rw-r--r--lldb/test/python_api/thread/main2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/thread/main2.cpp b/lldb/test/python_api/thread/main2.cpp
index 8a26b007b76..a95d7d7aec1 100644
--- a/lldb/test/python_api/thread/main2.cpp
+++ b/lldb/test/python_api/thread/main2.cpp
@@ -31,7 +31,7 @@ int b(int val)
return -1;
else
printf("ptr=%p\n", ptr);
- return rc;
+ return rc; // we should reach here after 3 step-over's.
}
int c(int val)
OpenPOWER on IntegriCloud