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
This commit is contained in:
Johnny Chen
2011-03-10 22:32:47 +00:00
parent b904ca5015
commit f93286f20c
2 changed files with 61 additions and 2 deletions

View File

@@ -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)