- Jun 20, 2011
-
-
Peter Collingbourne authored
llvm-svn: 133457
-
Peter Collingbourne authored
llvm-svn: 133456
-
Jim Ingham authored
Use the dyld_mode, image_infos & image_infos_count passed into the shared library notification function to update libraries rather than reading the whole all_imaage_infos structure every time we get notified. llvm-svn: 133448
-
Johnny Chen authored
Add TestInlinedFrame.py to exercise the newly added SBFrame APIs: IsInlined() and GetFunctionName(). llvm-svn: 133404
-
- Jun 17, 2011
-
-
Johnny Chen authored
Let's remove the @expectedFailure marker from it. llvm-svn: 133294
-
Johnny Chen authored
Also eat the stdout of the spawned "hello_world" process if not in TraceOn() mode. llvm-svn: 133280
-
Johnny Chen authored
Among them are test cases to exercise SBTarget.AttachToProcessWithName(); we attach to "hello_world", and verify that, after attachment, the currently selected target indeed matches "hello_world". llvm-svn: 133279
-
Johnny Chen authored
Change the executable name to be "hello_world". llvm-svn: 133277
-
Johnny Chen authored
llvm-svn: 133230
-
Johnny Chen authored
Add a test case for the SBTarget::AttachToProcessWithID() API call. o main.c: The change goes with the added test case test_with_dwarf_and_attach_to_process_with_id_api() above. o SBTarget.cpp: Checks whether we're in synchronous mode. If yes, let's wait for the process to stop right after attaching. llvm-svn: 133223
-
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
-