| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 132692
|
|
|
|
|
|
|
| |
cleaned up all base classes that had their own copy. Added a SetDescription
accessor to the StopInfo class.
llvm-svn: 132615
|
|
|
|
|
|
|
| |
the thread we were running on (other thread crashed or had exceptional stop
reason).
llvm-svn: 132599
|
|
|
|
| |
llvm-svn: 132597
|
|
|
|
| |
llvm-svn: 132594
|
|
|
|
| |
llvm-svn: 132588
|
|
|
|
| |
llvm-svn: 132587
|
|
|
|
|
|
| |
base class
llvm-svn: 132586
|
|
|
|
|
|
| |
mmap/munmap calls
llvm-svn: 132585
|
|
|
|
| |
llvm-svn: 132584
|
|
|
|
|
|
|
| |
Currently the runtime dynamic linker lacks object file support for anything
other than Mach-O.
llvm-svn: 132583
|
|
|
|
| |
llvm-svn: 132582
|
|
|
|
|
|
| |
example on the web.
llvm-svn: 132554
|
|
|
|
|
|
| |
errors when we go to run a breakpoint condition.
llvm-svn: 132517
|
|
|
|
| |
llvm-svn: 132515
|
|
|
|
|
|
| |
Debug a Program in LLDB' example.
llvm-svn: 132513
|
|
|
|
| |
llvm-svn: 132512
|
|
|
|
| |
llvm-svn: 132511
|
|
|
|
| |
llvm-svn: 132507
|
|
|
|
|
|
| |
asserting and bringing down the whole process.
llvm-svn: 132506
|
|
|
|
| |
llvm-svn: 132502
|
|
|
|
|
|
|
| |
true/false in an extra boolean parameter and not cause the the binary that
us using the LLDB framework to crash.
llvm-svn: 132501
|
|
|
|
|
|
| |
GDB server doesn't support the LLDB specific qThreadStopInfo packet.
llvm-svn: 132499
|
|
|
|
|
|
|
| |
handles. Also fixed a case where the packet wouldn't be dumped if it returned
the unimplemented packet.
llvm-svn: 132498
|
|
|
|
|
|
|
| |
to prevent Python from installing its own signal
handlers.
llvm-svn: 132492
|
|
|
|
| |
llvm-svn: 132484
|
|
|
|
|
|
|
| |
mutexes around input readers and prevent deadlocking; modify
Debugger to use the new class.
llvm-svn: 132475
|
|
|
|
| |
llvm-svn: 132470
|
|
|
|
| |
llvm-svn: 132449
|
|
|
|
|
|
| |
make the script more robotic.
llvm-svn: 132441
|
|
|
|
|
|
| |
then just continue.
llvm-svn: 132440
|
|
|
|
|
|
| |
lldb-tool run scheme.
llvm-svn: 132439
|
|
|
|
|
|
|
|
| |
backtrace' command.
This serves as a regression test against rdar://problem/9530511.
llvm-svn: 132438
|
|
|
|
|
|
|
|
| |
condition inverted.
rdar://problem/9530511
llvm-svn: 132435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
main.c program
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
|
|
|
|
|
|
|
|
|
| |
for post-processing
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
|
|
|
|
| |
llvm-svn: 132412
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
attribute references
inside a try-except block in case the test is not invoked through the dotest.py test driver.
llvm-svn: 132372
|
|
|
|
| |
llvm-svn: 132367
|
|
|
|
|
|
| |
value fails to evaluate.
llvm-svn: 132354
|
|
|
|
| |
llvm-svn: 132308
|
|
|
|
| |
llvm-svn: 132304
|
|
|
|
|
|
|
|
|
|
|
| |
they don't update correctly. Currently if a variable is unavailable due to
a register not being available in a higher frame or due to the PC value
not being a valid location list value, "<unknown type>" will get displayed
as the variable type. I am not sure what other things will fail, so I am
disabling it for now just by letting the default enumeration value default
to it being disabled.
llvm-svn: 132303
|
|
|
|
| |
llvm-svn: 132301
|
|
|
|
|
|
|
| |
its definition, that the first enumeration doesn't always get used as the
default.
llvm-svn: 132289
|
|
|
|
| |
llvm-svn: 132281
|
|
|
|
|
|
|
|
| |
(or anything running in a terminal) wants. Not what a UI (Xcode) would want
where it creates a debugger per debug window. The current code had an infinite
loop after a debug session ended.
llvm-svn: 132280
|
|
|
|
| |
llvm-svn: 132271
|
|
|
|
| |
llvm-svn: 132270
|