diff options
author | Nitesh Jain <nitesh.jain@imgtec.com> | 2017-04-27 12:27:42 +0000 |
---|---|---|
committer | Nitesh Jain <nitesh.jain@imgtec.com> | 2017-04-27 12:27:42 +0000 |
commit | 63a978ff090444923be34e4022b2d15937d5f139 (patch) | |
tree | 4c365815ff049598ebefc4af4d859626563065ad /lldb/packages/Python/lldbsuite/test | |
parent | 85ddc4cb1aa93c9d6062525f269240829bf6e83f (diff) | |
download | bcm5719-llvm-63a978ff090444923be34e4022b2d15937d5f139.tar.gz bcm5719-llvm-63a978ff090444923be34e4022b2d15937d5f139.zip |
[LLDB][MIPS] Forgot to add check in commit rl301530
Reviewers: ki.stfu, labath
Subscribers: jaydeep, bhushan, lldb-commits, slthakur
llvm-svn: 301537
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py index 7bbeb1546d5..4e03d557b7a 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py @@ -325,8 +325,10 @@ class MiExecTestCase(lldbmi_testcase.MiTestCaseBase): if it == 1: # Call to s_MyFunction may not follow immediately after g_MyFunction. # There might be some instructions in between to restore caller-saved registers. - # We need to get past these instructions with a step to reach call to s_MyFunction. - self.runCmd("-exec-step --thread 1") + # We need to get past these instructions with a next to reach call to s_MyFunction. + self.runCmd("-exec-next --thread 1") + self.expect("\^running") + self.expect("\*stopped,reason=\"end-stepping-range\".+?main\.cpp\",line=\"30\"") # Test that -exec-step steps into s_MyFunction # (and that --frame is optional) |