From 63a978ff090444923be34e4022b2d15937d5f139 Mon Sep 17 00:00:00 2001 From: Nitesh Jain Date: Thu, 27 Apr 2017 12:27:42 +0000 Subject: [LLDB][MIPS] Forgot to add check in commit rl301530 Reviewers: ki.stfu, labath Subscribers: jaydeep, bhushan, lldb-commits, slthakur llvm-svn: 301537 --- .../Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test') 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) -- cgit v1.2.3