summaryrefslogtreecommitdiffstats
path: root/lldb/test/breakpoint_conditions
Commit message (Collapse)AuthorAgeFilesLines
* Move some top level directories to reside under functionalities dir.Johnny Chen2011-06-263-220/+0
| | | | llvm-svn: 133892
* The extra burden for the Python API test case to assign its process object ↵Johnny Chen2011-06-151-6/+4
| | | | | | | | | 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-4/+4
| | | | | | | 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
* Change "frame var" over to using OptionGroups (and thus the ↵Jim Ingham2011-05-041-4/+4
| | | | | | | | | OptionGroupVariableObjectDisplay). Change the boolean "use_dynamic" over to a tri-state, no-dynamic, dynamic-w/o running target, and dynamic with running target. llvm-svn: 130832
* Convert some tests to use the SBProcess.LaunchSimple API requiring only ↵Johnny Chen2011-04-191-2/+1
| | | | | | | | args, envs, and cwd from SBProcess.Launch which takes many more arguments that are useless for the test scenario. llvm-svn: 129776
* Add TestTargetAPI.py:Johnny Chen2011-03-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | // 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
* Change "breakpoint list" command to default to brief output rather than full ↵Caroline Tice2011-02-041-2/+2
| | | | | | | | | output. Modify test cases in test suite to either expect brief output or to pass -f for full output as appropriate. llvm-svn: 124905
* 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
* Fix typos in SBBreakpoint::GetThreadIndex()/GetThreadName(), and test sequencesJohnny Chen2010-12-151-0/+13
| | | | | | for the two API calls. llvm-svn: 121898
* Modify test cases to accomodate Python API change:Johnny Chen2010-12-141-1/+1
| | | | | | | o SBFrame.LookupVar -> FindVariable o SBFrame.LookupVarInScope -> FindValue llvm-svn: 121782
* Add @python_api_test decorator to the remaining Test*.py files.Johnny Chen2010-12-101-0/+2
| | | | llvm-svn: 121448
* Test that "breakpoint modify -c ''" clears the condition for the last createdJohnny Chen2010-12-031-0/+19
| | | | | | breakpoint, so that when the breakpoint hits, val = 1 instead of 3. llvm-svn: 120859
* Remove @skip decorators for fixed crashes.Johnny Chen2010-11-301-1/+0
| | | | llvm-svn: 120479
* Entire test class skipped due to:Johnny Chen2010-11-301-0/+1
| | | | | | rdar://problem/8710994 Assertion failed: (reg_info) GDBRemoteRegisterContext.cpp, line 199 llvm-svn: 120430
* Minor comment fix.Johnny Chen2010-11-291-1/+1
| | | | llvm-svn: 120352
* Add an expect() statement within breakpoint_conditions() method which tests thatJohnny Chen2010-11-291-0/+4
| | | | | | | | | | | | | | | the process status is indeed 'stopped' before invoking 'frame variable -t val' command to inspect the frame variable. When I run the test suite, it sometimes emits an output like: runCmd: frame variable -t val runCmd failed! error: you must be stopped in a valid stack frame to view frame variables. The expect() statement inserted is to make sure that the process is stopped and we have a valid frame. llvm-svn: 120318
* Remove the @expectedFailure as the following bug is fixed with newer clang ↵Johnny Chen2010-10-291-1/+0
| | | | | | | | bits with lldb r117700: rdar://problem/8584431 Assert in clang while evaluating expression llvm-svn: 117705
* Skip this test module for the time being until we get a newer clang on lldb tot.Johnny Chen2010-10-251-0/+1
| | | | llvm-svn: 117278
* Comment out the debug statement for printing the SBBreakpoint object.Johnny Chen2010-10-221-1/+1
| | | | llvm-svn: 117140
* Add test case for using SBBreakpointLocation to set break condition.Johnny Chen2010-10-221-0/+55
| | | | llvm-svn: 117116
* Fix misnamed test method names.Johnny Chen2010-10-221-2/+2
| | | | llvm-svn: 117101
* Make the breakpoint condition test more robust with regard to checking the ↵Johnny Chen2010-10-202-6/+8
| | | | | | | | | | correct parent call frame information. And comment out the check for stop reason for the time being. The stop reason disappeared from the "thread backtrace" output for breakpoint stop with condition. llvm-svn: 116939
* Add a test case for exercising breakpoint conditions using the lldb command:Johnny Chen2010-10-153-0/+124
breakpoint modify -c 'val == 3' 1 after: breakpoint set -n c which sets a breakpoint on function 'c'. The breakpoint should only stop if expression 'val == 3' evaluates to true. llvm-svn: 116607
OpenPOWER on IntegriCloud