Johnny Chen
d762ff1faa
Modify test scripts to accomodate SBTarget.Launch() API change.
...
llvm-svn: 124828
2011-02-03 23:15:53 +00:00
Johnny Chen
109941b078
Fix wrong order of "import lldbutil" statement and its usage in the failure case.
...
llvm-svn: 124196
2011-01-25 17:17:45 +00:00
Greg Clayton
6f907e69e9
Deprecated old forms of SBTarget::Launch. There is not just one and no
...
SWIG renaming done to work around deprecated APIs.
llvm-svn: 124075
2011-01-23 17:46:22 +00:00
Johnny Chen
025d1b8f95
For SBTarget.Launch()/LaunchProcess(), there's no need to pass an empty string
...
as the args and the envs to the launched process.
o lldbtest.py:
Forgot to check in some assertion messages changes for lldbtest.py.
o dotest.py:
Also add "api" category to the default lldb log option list.
llvm-svn: 121220
2010-12-08 01:25:21 +00:00
Johnny Chen
c043de11e8
Fixed compilation warnings emitted by clang.
...
Plus make finding the break line number in main.cpp more robust.
llvm-svn: 118832
2010-11-11 20:18:36 +00:00
Johnny Chen
0c724effb8
The StateType representation has been changed. Modify the test cases to accommodate.
...
llvm-svn: 116705
2010-10-18 15:44:42 +00:00
Johnny Chen
28ae29420a
Move the enum to string utility functions from lldbtest.py to lldbuti.py and
...
update the affected API clients.
llvm-svn: 115995
2010-10-07 22:15:58 +00:00
Johnny Chen
7ea9aee9be
Add a test case which uses the SBProcess and SBThread APIs to iterate through
...
the threads and print their stack traces when stopped on a breakpoint.
Add a PrintStackTraces(process) utility function into the lldbutil.py module.
llvm-svn: 115983
2010-10-07 21:38:28 +00:00