- May 07, 2011
-
-
Johnny Chen authored
llvm-svn: 131033
-
- May 06, 2011
-
-
Caroline Tice authored
Replace calls to HandleCommand in lldb core with more appropriate direct function calls. As part of this, collect code that processes arguments & options for aliases into a single function. llvm-svn: 131020
-
Johnny Chen authored
llvm-svn: 131011
-
Jim Ingham authored
Make the log message & setter match for "dyld/shlib". The "ListLogCategories" output should really be auto-generated from the settings so you can't make this sort of mistake... llvm-svn: 131003
-
Greg Clayton authored
ValueObject is, as long as the ValueObject that is being asked to be casted is a pointer itself. llvm-svn: 130966
-
Johnny Chen authored
llvm-svn: 130965
-
Johnny Chen authored
llvm-svn: 130963
-
Johnny Chen authored
llvm-svn: 130960
-
- May 05, 2011
-
-
Johnny Chen authored
for thread in process: print >> output, print_stacktrace(thread, string_buffer=True) llvm-svn: 130940
-
Greg Clayton authored
integer and the register byte size matches the size of a pointer. This removes the "--lookup" option. llvm-svn: 130910
-
Jim Ingham authored
Fix the "target stop-hook add" input reader so that it won't say the stop hook was added if the input was interrupted. llvm-svn: 130907
-
Johnny Chen authored
o lldb.debugger o lldb.target o lldb.process o lldb.thread o lldb.frame "just works" when we stop at a breakpoint. llvm-svn: 130904
-
- May 04, 2011
-
-
Caroline Tice authored
Add ability to search backwards through command history for a particular substring, using ctrl-r key. llvm-svn: 130871
-
Johnny Chen authored
llvm-svn: 130865
-
Johnny Chen authored
llvm-svn: 130848
-
Caroline Tice authored
Minor cleanup: When asynchronous output comes along, back up over and delete the prompt before writing out the asynchronous output, rather than just going to a new line. llvm-svn: 130843
-
Jim Ingham authored
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
-
Johnny Chen authored
in one command invocation. llvm-svn: 130811
-
Johnny Chen authored
llvm-svn: 130806
-
Johnny Chen authored
llvm-svn: 130804
-
Johnny Chen authored
llvm-svn: 130802
-
Johnny Chen authored
Use a more gentle way of shutting down the child process spawned during the test execution using pexpect. Change some child.expect() to child.expect_exact() as they try to match the string, not a regular expression. llvm-svn: 130797
-
Greg Clayton authored
Removed the "image" command and moved it to "target modules". Added an alias for "image" to "target modules". Added some new target commands to be able to add and load modules to a target: (lldb) target modules add <path> (lldb) target modules load [--file <path>] [--slide <offset>] [<sect-name> <sect-load-addr> ...] So you can load individual sections without running a target: (lldb) target modules load --file /usr/lib/libSystem.B.dylib __TEXT 0x7fccc80000 __DATA 0x1234000000 Or you can rigidly slide an entire shared library: (lldb) target modules load --file /usr/lib/libSystem.B.dylib --slid 0x7fccc80000 This should improve bare board debugging when symbol files need to be slid around manually. llvm-svn: 130796
-
- May 03, 2011
-
-
Caroline Tice authored
Pre-load the Python script interpreter with the following convenience variables (from the ExecutionContext) each time it is entered: lldb.debugger, lldb.target, lldb.process, lldb.thread, lldb.frame. If a frame (or thread, process, etc) does not currently exist, the variable contains the Python value 'None'. llvm-svn: 130792
-
Caroline Tice authored
Remove type cast that was causing compiler warning. llvm-svn: 130790
-
Caroline Tice authored
Make the driver listen for asynchronous output, rather than the IOChannel, so that it can be written out even while the IOChannel is collecting user input. llvm-svn: 130789
-
Johnny Chen authored
Modify test_image_search_paths(self) to check for the pattern "%s-[^-]*-[^-]*" % self.getArchitecture() from the output of running 'image list -t 3' command which lists the triples of the image list. llvm-svn: 130777
-
Johnny Chen authored
llvm-svn: 130773
-
Johnny Chen authored
llvm-svn: 130771
-
Johnny Chen authored
Change one test sequence to detect the '** End Stop Hooks **' marker emitted by the stop hooks mechanism and check for whether the 'expr ptr' stop-hook has been run. Also, change the TestBase.tearDown() to wait for 2 seocnds before forcefully kill the pexpect-spawned child lldb process. llvm-svn: 130767
-
Johnny Chen authored
to spawn an lldb child command. The test is not "correct" in that the '** Stop Hooks **' message emitted by the Target implementation is invoked asynchronously and is using a separate: CommandReturnObject result; command return object that what the driver passes to the normal command interpreter loop. But it can help test our output serialization work. I need to modify the test case later to maybe only test that "-o 'expr ptr'" option does indeed work. llvm-svn: 130742
-
Johnny Chen authored
llvm-svn: 130741
-
Johnny Chen authored
llvm-svn: 130740
-
Caroline Tice authored
Fix the compiler in the project (accidentally checked in with wrong compiler). llvm-svn: 130738
-
- May 02, 2011
-
-
Greg Clayton authored
image list command so we can see the full triple for each target module. llvm-svn: 130728
-
Caroline Tice authored
This patch captures and serializes all output being written by the command line driver, including the lldb prompt being output by editline, the asynchronous process output & error messages, and asynchronous messages written by target stop-hooks. As part of this it introduces a new Stream class, StreamAsynchronousIO. A StreamAsynchronousIO object is created with a broadcaster, who will eventually broadcast the stream's data for a listener to handle, and an event type indicating what type of event the broadcaster will broadcast. When the Write method is called on a StreamAsynchronousIO object, the data is appended to an internal string. When the Flush method is called on a StreamAsynchronousIO object, it broadcasts it's data string and clears the string. Anything in lldb-core that needs to generate asynchronous output for the end-user should use the StreamAsynchronousIO objects. I have also added a new notification type for InputReaders, to let them know that a asynchronous output has been written. This is to allow the input readers to, for example, refresh their prompts and lines, if desired. I added the case statements to all the input readers to catch this notification, but I haven't added any code for handling them yet (except to the IOChannel input reader). llvm-svn: 130721
-
Johnny Chen authored
Add implementation of '==' and '!=' for SBFileSpec and SBModule. Modify a test case to take advantage of 'ths_module == that_module'. llvm-svn: 130709
-
Jim Ingham authored
llvm-svn: 130701
-
Johnny Chen authored
llvm-svn: 130698
-
- Apr 30, 2011
-
-
Greg Clayton authored
interface. Added a quick way to set the platform though the SBDebugger interface. I will actually an a SBPlatform support soon, but for now this will do. ConnectionFileDescriptor can be passed a url formatted as: "fd://<fd>" where <fd> is a file descriptor in the current process. This is handy if you have services, deamons, or other tools that can spawn processes and give you a file handle. llvm-svn: 130565
-