llvm-project/lldb
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
..
docs When unwinding from the first frame, try to ask the remote debugserver 2011-12-13 05:39:38 +00:00
examples fixing comment to reflect that currentversion of OSX works with our STL formatters 2012-02-08 19:57:18 +00:00
include First pass at mach-o core file support is in. It currently works for x86_64 2012-02-09 06:16:32 +00:00
lib This patch combines common code from Linux and FreeBSD into 2012-01-05 19:17:38 +00:00
lldb.xcodeproj First pass at mach-o core file support is in. It currently works for x86_64 2012-02-09 06:16:32 +00:00
lldb.xcworkspace I accidentally committed some changes to the 2011-12-21 21:30:33 +00:00
resources Version bump to 113. 2012-02-08 07:31:16 +00:00
scripts Brought LLVM/Clang up to top of tree. The only 2012-02-09 03:22:41 +00:00
source First pass at mach-o core file support is in. It currently works for x86_64 2012-02-09 06:16:32 +00:00
test Add safe guard for when the 'expect' program cannot be located and skip the test. 2012-02-09 02:01:59 +00:00
tools Send Breakpoint Changed events for all the relevant changes to breakpoints. 2012-02-08 05:23:15 +00:00
utils Add a utility script: 2011-11-04 01:05:29 +00:00
www Added some clarifications about when the __lldb_init_module would be called 2012-01-26 05:36:07 +00:00
.gitignore Added a .gitignore so that "git status" isn't 2012-02-07 21:53:52 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile This patch combines common code from Linux and FreeBSD into 2012-01-05 19:17:38 +00:00