[LLDB][MIPS] Forgot to add check in commit rl301530

Reviewers: ki.stfu, labath
Subscribers: jaydeep, bhushan, lldb-commits, slthakur

llvm-svn: 301537
This commit is contained in:
Nitesh Jain 2017-04-27 12:27:42 +00:00
parent 85ddc4cb1a
commit 63a978ff09
1 changed files with 4 additions and 2 deletions

View File

@ -325,8 +325,10 @@ class MiExecTestCase(lldbmi_testcase.MiTestCaseBase):
if it == 1: if it == 1:
# Call to s_MyFunction may not follow immediately after g_MyFunction. # Call to s_MyFunction may not follow immediately after g_MyFunction.
# There might be some instructions in between to restore caller-saved registers. # 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. # We need to get past these instructions with a next to reach call to s_MyFunction.
self.runCmd("-exec-step --thread 1") 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 # Test that -exec-step steps into s_MyFunction
# (and that --frame is optional) # (and that --frame is optional)