- Jun 10, 2011
-
-
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 04, 2011
-
-
Greg Clayton authored
cleaned up all base classes that had their own copy. Added a SetDescription accessor to the StopInfo class. llvm-svn: 132615
-
Greg Clayton authored
the thread we were running on (other thread crashed or had exceptional stop reason). llvm-svn: 132599
-
Greg Clayton authored
llvm-svn: 132597
-
- Jun 03, 2011
-
-
Johnny Chen authored
llvm-svn: 132594
-
Peter Collingbourne authored
llvm-svn: 132588
-
Peter Collingbourne authored
llvm-svn: 132587
-
Peter Collingbourne authored
llvm-svn: 132586
-
Peter Collingbourne authored
llvm-svn: 132585
-
Peter Collingbourne authored
llvm-svn: 132584
-
Peter Collingbourne authored
Currently the runtime dynamic linker lacks object file support for anything other than Mach-O. llvm-svn: 132583
-
Peter Collingbourne authored
llvm-svn: 132582
-
Caroline Tice authored
Make a few minor changes/corrections to scripting example on the web. llvm-svn: 132554
-
Jim Ingham authored
Added Debugger::GetAsync{Output/Error}Stream, and use it to print parse errors when we go to run a breakpoint condition. llvm-svn: 132517
-
Greg Clayton authored
llvm-svn: 132515
-
Caroline Tice authored
Add the web page for the 'Using Python Scripting to Debug a Program in LLDB' example. llvm-svn: 132513
-
Caroline Tice authored
Add source files for Python scripting example (coming soon). llvm-svn: 132512
-
Johnny Chen authored
llvm-svn: 132511
-
Johnny Chen authored
llvm-svn: 132507
-
Johnny Chen authored
When emulating an ill-formed instruction, we should bail out instead of asserting and bringing down the whole process. llvm-svn: 132506
-
Greg Clayton authored
llvm-svn: 132502
-
Greg Clayton authored
true/false in an extra boolean parameter and not cause the the binary that us using the LLDB framework to crash. llvm-svn: 132501
-
Greg Clayton authored
GDB server doesn't support the LLDB specific qThreadStopInfo packet. llvm-svn: 132499
-
Greg Clayton authored
handles. Also fixed a case where the packet wouldn't be dumped if it returned the unimplemented packet. llvm-svn: 132498
-
Caroline Tice authored
Use Py_InitializeEx(0) instead of Py_Initialize, to prevent Python from installing its own signal handlers. llvm-svn: 132492
-
- Jun 02, 2011
-
-
Johnny Chen authored
llvm-svn: 132484
-
Caroline Tice authored
Create new class, InputReaderStack, to better handle mutexes around input readers and prevent deadlocking; modify Debugger to use the new class. llvm-svn: 132475
-
Johnny Chen authored
llvm-svn: 132470
-
Greg Clayton authored
llvm-svn: 132449
-
Johnny Chen authored
Turn off printing of command sent to the pexpect-spawned child process to make the script more robotic. llvm-svn: 132441
-
Jim Ingham authored
llvm-svn: 132440
-
Jim Ingham authored
llvm-svn: 132439
-
Johnny Chen authored
This serves as a regression test against rdar://problem/9530511. llvm-svn: 132438
-
Johnny Chen authored
rdar://problem/9530511 llvm-svn: 132435
-
Johnny Chen authored
to seg fault randomly instead of deterministically. Example: [15:10:43] johnny:/Volumes/data/lldb/svn/trunk/utils/test $ clang -g main.c [15:10:46] johnny:/Volumes/data/lldb/svn/trunk/utils/test $ ./run-until-faulted.py -l $PWD/../../build/Debug/lldb -e a.out lldb command: /Volumes/data/lldb/svn/trunk/utils/test/../../build/Debug/lldb executable: a.out executable options: (lldb) sending 'file a.out' command... file a.out Current executable set to 'a.out' (x86_64). (lldb) sending 'process launch -- ' command... (iteration: 0) process launch -- Process 63630 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) Hello, fault! val=9 Better luck next time! [KProcess 63630 exited with status = 0 (0x00000000) (lldb) sending 'process launch -- ' command... (iteration: 1) process launch -- Process 63633 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) [KProcess 63633 exited with status = 0 (0x00000000) sending 'process launch -- ' command... (iteration: 2) [KHello, fault! val=0 Better luck next time! (lldb) process launch -- Process 63637 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) Hello, fault! val=15 Better luck next time! [KProcess 63637 exited with status = 0 (0x00000000) (lldb) sending 'process launch -- ' command... (iteration: 3) process launch -- Process 63640 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) Hello, fault! val=2 Better luck next time! [KProcess 63640 exited with status = 0 (0x00000000) sending 'process launch -- ' command... (iteration: 4) (lldb) process launch -- Process 63643 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) [KProcess 63643 stopped * thread #1: tid = 0x2d03, 0x0000000100000e93 a.out`main + 99 at main.c:11, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000100000e93 a.out`main + 99 at main.c:11 8 u_int32_t val = (arc4random() & 0x0f); 9 printf("val=%u\n", val); 10 if (val == 0x07) // Lucky 7 :-) -> 11 printf("Now segfault %d\n", *null_ptr); 12 else 13 printf("Better luck next time!\n"); 14 } (lldb) * thread #1: tid = 0x2d03, 0x0000000100000e93 a.out`main + 99 at main.c:11, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000100000e93 a.out`main + 99 at main.c:11 8 u_int32_t val = (arc4random() & 0x0f); 9 printf("val=%u\n", val); 10 if (val == 0x07) // Lucky 7 :-) -> 11 printf("Now segfault %d\n", *null_ptr); 12 else 13 printf("Better luck next time!\n"); 14 } [KHello, fault! val=7 (lldb) llvm-svn: 132430
-
- Jun 01, 2011
-
-
Johnny Chen authored
the SWIG-generated lldb.py module by adding comments in the post-processed file in order to facilitate reading of the code. llvm-svn: 132417
-
Johnny Chen authored
llvm-svn: 132412
-
Charles Davis authored
- The Swig post-processing scripts are now run. - edit-swig-python-wrapper-file.py has been modified so it can be run from the Makefile. - The issue that prompted me to pass -classic to swig is fixed by this, so -classic isn't passed anymore. Python shouldn't complain anymore about a missing method 'FindDebuggerByID' on the SBDebugger object whenever lldb is run. llvm-svn: 132383
-
Johnny Chen authored
inside a try-except block in case the test is not invoked through the dotest.py test driver. llvm-svn: 132372
-