llvm-project/lldb/source/Commands
Greg Clayton c3776bf288 First pass at mach-o core file support is in. It currently works for x86_64
user space programs. The core file support is implemented by making a process
plug-in that will dress up the threads and stack frames by using the core file
memory. 

Added many default implementations for the lldb_private::Process functions so
that plug-ins like the ProcessMachCore don't need to override many many 
functions only to have to return an error.

Added new virtual functions to the ObjectFile class for extracting the frozen
thread states that might be stored in object files. The default implementations
return no thread information, but any platforms that support core files that
contain frozen thread states (like mach-o) can make a module using the core
file and then extract the information. The object files can enumerate the 
threads and also provide the register state for each thread. Since each object
file knows how the thread registers are stored, they are responsible for 
creating a suitable register context that can be used by the core file threads.

Changed the process CreateInstace callbacks to return a shared pointer and
to also take an "const FileSpec *core_file" parameter to allow for core file
support. This will also allow for lldb_private::Process subclasses to be made
that could load crash logs. This should be possible on darwin where the crash
logs contain all of the stack frames for all of the threads, yet the crash
logs only contain the registers for the crashed thrad. It should also allow
some variables to be viewed for the thread that crashed.

llvm-svn: 150154
2012-02-09 06:16:32 +00:00
..
CommandCompletions.cpp Added an API to SymbolContext to hide the complexity of getting the 2011-09-27 19:48:20 +00:00
CommandObjectApropos.cpp General cleanup on the UserSettingsController stuff. There were 5 different 2011-04-19 22:32:36 +00:00
CommandObjectApropos.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectArgs.cpp Switching back to using std::tr1::shared_ptr. We originally switched away 2012-01-29 20:56:30 +00:00
CommandObjectArgs.h Added two new classes for command options: 2011-04-13 00:18:08 +00:00
CommandObjectBreakpoint.cpp Send Breakpoint Changed events for all the relevant changes to breakpoints. 2012-02-08 05:23:15 +00:00
CommandObjectBreakpoint.h Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
CommandObjectBreakpointCommand.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectBreakpointCommand.h Change the command 'breakpoint command remove' to 'breakpoint command delete', 2011-05-22 07:14:46 +00:00
CommandObjectCommands.cpp Fix help strings that refer to the "commands" top-level noun. 2011-11-10 22:43:35 +00:00
CommandObjectCommands.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectCrossref.cpp Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectDisassemble.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectDisassemble.h disassemble with no arguments disassembles at the pc. Also got "disassemble -f" to work, that had gotten broken at some point in the past. 2011-09-01 01:11:04 +00:00
CommandObjectExpression.cpp There is no need to hold onto an ExecutionContext as a member variable. 2012-01-27 18:18:23 +00:00
CommandObjectExpression.h There is no need to hold onto an ExecutionContext as a member variable. 2012-01-27 18:18:23 +00:00
CommandObjectFrame.cpp After discussions with Jim and Greg, modify the 'watchpoint set' command to become a mutiword command 2012-02-08 22:37:48 +00:00
CommandObjectFrame.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectHelp.cpp Emit the message about putting ' -- ' between the end of command options and the raw input conditionally, 2012-01-27 18:49:33 +00:00
CommandObjectHelp.h Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectLog.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectLog.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMemory.cpp Fixed formats being able to be applied recursively when using: 2012-01-26 21:08:30 +00:00
CommandObjectMemory.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMultiword.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectPlatform.cpp Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This 2011-12-01 23:28:38 +00:00
CommandObjectPlatform.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectProcess.cpp First pass at mach-o core file support is in. It currently works for x86_64 2012-02-09 06:16:32 +00:00
CommandObjectProcess.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectQuit.cpp Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectQuit.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectRegister.cpp Added support for the new ".apple_objc" accelerator tables. These tables are 2011-10-27 17:55:14 +00:00
CommandObjectRegister.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectSettings.cpp Followup check in for http://llvm.org/viewvc/llvm-project?rev=148491&view=rev, 2012-01-23 19:49:28 +00:00
CommandObjectSettings.h Followup check in for http://llvm.org/viewvc/llvm-project?rev=148491&view=rev, 2012-01-23 19:49:28 +00:00
CommandObjectSource.cpp Switching back to using std::tr1::shared_ptr. We originally switched away 2012-01-29 20:56:30 +00:00
CommandObjectSource.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectSyntax.cpp Modify existing commands with arguments to use the new argument mechanism 2010-10-04 22:28:36 +00:00
CommandObjectSyntax.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectTarget.cpp First pass at mach-o core file support is in. It currently works for x86_64 2012-02-09 06:16:32 +00:00
CommandObjectTarget.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectThread.cpp Add the ability to capture the return value in a thread's stop info, and print it 2011-12-17 01:35:57 +00:00
CommandObjectThread.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectType.cpp Added a new --omit-names (-O, uppercase letter o) option to "type summary add". 2012-02-02 23:34:52 +00:00
CommandObjectType.h Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
CommandObjectVersion.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectVersion.h Add a simple command: 'version' to the command interpreter, and an accompanying 2010-12-23 20:21:44 +00:00
CommandObjectWatchpoint.cpp After discussions with Jim and Greg, modify the 'watchpoint set' command to become a mutiword command 2012-02-08 22:37:48 +00:00
CommandObjectWatchpoint.h After discussions with Jim and Greg, modify the 'watchpoint set' command to become a mutiword command 2012-02-08 22:37:48 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00