summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-01-29 20:09:30 +0000
committerJim Ingham <jingham@apple.com>2016-01-29 20:09:30 +0000
commit02e73d1c3c983c6091c1892e69d2d288be63d11b (patch)
tree945c059865850825fbff06845b1ddf314623ce9f /lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py
parent16ba669c87f305916c1f2ee0acff52a5cd5c2e31 (diff)
downloadbcm5719-llvm-02e73d1c3c983c6091c1892e69d2d288be63d11b.tar.gz
bcm5719-llvm-02e73d1c3c983c6091c1892e69d2d288be63d11b.zip
Fix this test for the the switch in default for IgnoreBreakpoints in SBFrame.EvaluateExpression.
llvm-svn: 259234
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py b/lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py
index c7a3de4b684..15489e96fcb 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py
@@ -155,9 +155,14 @@ class TestCStepping(TestBase):
current_file = frame.GetLineEntry().GetFileSpec()
break_in_b.SetEnabled(True)
- frame.EvaluateExpression ("b (4)", lldb.eNoDynamicValues, False)
+ options = lldb.SBExpressionOptions()
+ options.SetIgnoreBreakpoints(False)
+ options.SetFetchDynamicValue(False)
+ options.SetUnwindOnError(False)
+ frame.EvaluateExpression ("b (4)", options)
threads = lldbutil.get_threads_stopped_at_breakpoint (process, break_in_b)
+
if len(threads) != 1:
self.fail ("Failed to stop at breakpoint in b when calling b.")
thread = threads[0]
OpenPOWER on IntegriCloud