summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/symbol-context/TestSymbolContext.py
Commit message (Collapse)AuthorAgeFilesLines
* The extra burden for the Python API test case to assign its process object ↵Johnny Chen2011-06-151-5/+3
| | | | | | | | | to self.process in order to have its process cleaned up (terminated) upon tearDown is gone for good. Let's simplify a bunch of Python API test cases. llvm-svn: 133097
* Now that we have added a post-processing step for adding truth value testing toJohnny Chen2011-05-241-6/+6
| | | | | | | those lldb objects which implement the IsValid() method, let's change the rest of the test suite to use the more compact truth value testing pattern (the Python way). llvm-svn: 131970
* Convert the rest of the test suite to use the lldbutil.get_description() ↵Johnny Chen2011-04-231-3/+2
| | | | | | utility function. llvm-svn: 130041
* Converted to use SBProcess.LaunchSimple().Johnny Chen2011-04-191-2/+1
| | | | llvm-svn: 129793
* Add TestTargetAPI.py:Johnny Chen2011-03-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | // When stopped on breakppint 1, and then 2, we can get the line entries using // SBFrame API SBFrame.GetLineEntry(). We'll get the start addresses for the // two line entries; with the start address (of SBAddress type), we can then // resolve the symbol context using the SBTarget API // SBTarget.ResolveSymbolContextForAddress(). // // The two symbol context should point to the same symbol, i.e., 'a' function. Add two utility functions to lldbutil.py: o get_stopped_threads(process, reason): return the list of threads with the specified stop reason or an empty list if not found o get_stopped_thread(process, reason): return the first thread with the given stop reason or None if not found llvm-svn: 126916
* Modify test scripts to accomodate SBTarget.Launch() API change.Johnny Chen2011-02-031-1/+1
| | | | llvm-svn: 124828
* Deprecated old forms of SBTarget::Launch. There is not just one and noGreg Clayton2011-01-231-1/+2
| | | | | | SWIG renaming done to work around deprecated APIs. llvm-svn: 124075
* No need to pass an empty string as an arg or as an env string to the ↵Johnny Chen2010-12-221-1/+1
| | | | | | SBTarget.LaunchProcess() API. llvm-svn: 122450
* Use SBModule.GetDescription(SBStream) API to get the module description to matchJohnny Chen2010-12-161-3/+4
| | | | | | against. llvm-svn: 121989
* Add python_api/symbol-context to test getting the symbol context while stoppedJohnny Chen2010-12-161-0/+100
on a frame and to exercise the methods of SBSymbolContext. llvm-svn: 121941
OpenPOWER on IntegriCloud