- Jun 17, 2011
-
-
Johnny Chen authored
For the print_stacktrace(thread, string_buffer = False) function, if we have debug info for a frame function, let's also emit the args for the current function. o TestFrameUtils.py: Add stronger assertTrue for frame0's args. o TestPrintStackTraces.py: Launch the inferior with ["abc", "xyz"] and expect '(int)argc=3' in the stack traces, since by design the inferior is built with debug info. llvm-svn: 133204
-
- Jun 16, 2011
-
-
Johnny Chen authored
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
-
- Jun 15, 2011
-
-
Johnny Chen authored
remove the self.runStarted attribute since the automatic shutdown of processes associated with the targets are now performed automatically. llvm-svn: 133092
-
Johnny Chen authored
bool SBDebugger::DeleteTarget(lldb::SBTarget &target); which is used in the test tearDown() phase to cleanup the debugger's target list so that it won't grow larger and larger as test cases are executed. This is also a good opportunity to get rid of the arcane requirement that test cases exercising the Python API must assign the process object to self.process so that it gets shutdown gracefully. Instead, the shutdown of the process associated with each target is now being now automatically. Also get rid of an API from SBTarget class: SBTarget::DeleteTargetFromList(lldb_private::TargetList *list); llvm-svn: 133091
-
- Jun 14, 2011
-
-
Peter Collingbourne authored
llvm-svn: 132969
-
Johnny Chen authored
It was introduced to work around some debugger infrastructure bug which has long since been fixed. llvm-svn: 132951
-
- Jun 10, 2011
-
-
Johnny Chen authored
llvm-svn: 132808
-
Johnny Chen authored
If two SBAddress's have the same module and file address, they are considered equal. Add a test snippet 'sa1 == sa2' to exercise the rich comparison methods for SBAddress. llvm-svn: 132807
-
- Jun 06, 2011
-
-
Johnny Chen authored
llvm-svn: 132692
-
- Jun 02, 2011
-
-
Johnny Chen authored
This serves as a regression test against rdar://problem/9530511. llvm-svn: 132438
-
- Jun 01, 2011
-
-
Johnny Chen authored
inside a try-except block in case the test is not invoked through the dotest.py test driver. llvm-svn: 132372
-
Johnny Chen authored
llvm-svn: 132367
-
- May 30, 2011
-
-
Greg Clayton authored
llvm-svn: 132308
-
Greg Clayton authored
llvm-svn: 132304
-
- May 28, 2011
-
-
Johnny Chen authored
llvm-svn: 132232
-
Johnny Chen authored
Remove an unnecessary __import__() function call. llvm-svn: 132231
-
- May 27, 2011
-
-
Johnny Chen authored
llvm-svn: 132160
-
- May 26, 2011
-
-
Johnny Chen authored
llvm-svn: 132152
-
Johnny Chen authored
llvm-svn: 132150
-
Johnny Chen authored
llvm-svn: 132147
-
- May 25, 2011
-
-
Johnny Chen authored
llvm-svn: 132072
-
- May 24, 2011
-
-
Johnny Chen authored
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
-
- May 22, 2011
-
-
Caroline Tice authored
Change the command 'breakpoint command remove' to 'breakpoint command delete', to be more consistent with other commands. llvm-svn: 131848
-
- May 19, 2011
-
-
Johnny Chen authored
llvm-svn: 131681
-
Johnny Chen authored
Add TestCallStdStringFunction.py which calls std::string member functions while stopped on a breakpoint. llvm-svn: 131680
-
- May 18, 2011
-
-
Johnny Chen authored
the session directory, which also includes the command line used to invoke the test suite. llvm-svn: 131501
-
Johnny Chen authored
object.__nonzero__(self) is called to implement truth value testing and the built-in operation bool(), via a simple delegation to self.IsValid(). Change tests under python_api/lldbutil to utilize this mechanism. llvm-svn: 131494
-
- May 17, 2011
-
-
Jim Ingham authored
llvm-svn: 131445
-
Jim Ingham authored
Clang makes two breakpoints for some fairly simple lines, not sure why but no need to check for this in the testsuite. llvm-svn: 131443
-
Johnny Chen authored
Fix bad test case; not all compilers are guaranteed to step into code inlined from the STL header file. rdar://problem/8983790 llvm-svn: 131433
-
- May 16, 2011
-
-
Johnny Chen authored
unambiguous iteration support. So that we could, for example: ... REGs = lldbutil.get_GPRs(frame) print "Number of general purpose registers: %d" % len(REGs) for reg in REGs: print "%s => %s" %(reg.GetName(), reg.GetValue()) ... llvm-svn: 131418
-
Johnny Chen authored
llvm-svn: 131412
-
- May 14, 2011
-
-
Johnny Chen authored
Clean up the test a little bit; and use lldbutil.get_GPRs(frame) to retrieve the general purpose register set. llvm-svn: 131324
-
- May 13, 2011
-
-
Johnny Chen authored
llvm-svn: 131319
-
Johnny Chen authored
from the frame is not valid, try look for the symbol in the symbol table. llvm-svn: 131273
-
Sean Callanan authored
representing variables whose type must be inferred from the way they are used. Functions without debug information now return UnknownAnyTy and must be cast. Variables with no debug information are not yet using UnknownAnyTy; instead they are assumed to be void*. Support for variables of unknown type is coming (and, in fact, some relevant support functions are included in this commit) but will take a bit of extra effort. The testsuite has also been updated to reflect the new requirement that the result of printf be cast, i.e. expr (int) printf("Hello world!") llvm-svn: 131263
-
- May 12, 2011
-
-
Johnny Chen authored
llvm-svn: 131253
-
Johnny Chen authored
o get_parent_frame(frame) o get_args_as_string(frame) to lldbutil.py and create TestFrameUtils.py to exercise the utils. Plus re-arrange the test/python_api/lldbutil to have three directories for testing iteration, process stack traces, and the just added frame utils. llvm-svn: 131213
-
- May 11, 2011
-
-
Johnny Chen authored
llvm-svn: 131168
-
Johnny Chen authored
llvm-svn: 131165
-