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
7ad4ac47ca
Fix wrong test case in main.c. Oops!
...
llvm-svn: 123181
2011-01-10 17:44:08 +00:00
Johnny Chen
d5f66fcbac
Add a test case for the SBFrame APIs. In particular, it uses the frame API to
...
get the argument values of the call stacks when stopped on the breakpoint.
Radar has been filed for the expected failures:
test failure: ./dotest.py -v -w -t -p TestFrames (argument values are wrong)
llvm-svn: 122460
2010-12-23 01:12:19 +00:00
Johnny Chen
cdbe594841
No need to pass an empty string as an arg or as an env string to the SBTarget.LaunchProcess() API.
...
llvm-svn: 122450
2010-12-22 22:56:19 +00:00
Johnny Chen
77c4697735
Fix some typos in the docstrings and also update the test method names.
...
llvm-svn: 122382
2010-12-22 00:56:47 +00:00
Johnny Chen
f2df189b72
Add test cases for registering a listener object with the broadcaster of a process
...
and waiting for two expected state changed events to arrive: "running" followed by
"stopped".
llvm-svn: 122380
2010-12-22 00:32:54 +00:00
Johnny Chen
3635eae697
Rename the test methods to be more meaningful.
...
llvm-svn: 122352
2010-12-21 19:52:54 +00:00
Johnny Chen
4f8caab924
Set the debugger to asynchronous mode before using the Python API call to kill
...
the process. The custom thread started before this point is running in a loop
waiting for events to come.
llvm-svn: 122316
2010-12-21 05:43:37 +00:00
Johnny Chen
0b0c57806b
Fix typo.
...
llvm-svn: 122306
2010-12-21 02:10:18 +00:00
Johnny Chen
f667ab526b
Added python_api/event/TestEvents.py to get the listener object associated with the
...
debugger and to exercise some event APIs.
llvm-svn: 122304
2010-12-21 02:06:56 +00:00
Johnny Chen
62f68ee564
Use SBModule.GetDescription(SBStream) API to get the module description to match
...
against.
llvm-svn: 121989
2010-12-16 18:37:46 +00:00
Johnny Chen
6becf1c924
Add python_api/symbol-context to test getting the symbol context while stopped
...
on a frame and to exercise the methods of SBSymbolContext.
llvm-svn: 121941
2010-12-16 01:41:37 +00:00