llvm-project/lldb
Greg Clayton 3deb0e7ca5 Revert the ELF core file support until a few things can be worked out:
RegisterContextCoreLinux_x86_64 inherits from RegisterContextLinux_x86_64 which inherits from RegisterContext_x86_64 which uses has:

   ProcessMonitor &GetMonitor();

This register context used by the core file can't use this since the process plug-in will be ProcessElfCore and the implementation of GetMonitor() does:

ProcessMonitor &
RegisterContext_x86_64::GetMonitor()
{
   ProcessSP base = CalculateProcess();
   ProcessPOSIX *process = static_cast<ProcessPOSIX*>(base.get());
   return process->GetMonitor();
}

ProcessELFCore doesn't, nor should it inherit from ProcessPOSIX and any call to GetMonitor() will fail for ELF core files.

Suggested cleanups:
- Make a register context class that is a base class that doesn't have any reading smarts, then make one that uses ProcessPOSIX and the has the GetMonitor() call, and one that gets its data straight from the core file. 

llvm-svn: 186223
2013-07-12 22:52:22 +00:00
..
docs Document the extended detach packet. 2013-06-07 00:22:49 +00:00
examples Enabled the "--debug" option functionality that will SIGSTOP the current process allowing a debugger to attach. 2013-07-12 20:08:00 +00:00
include Fixed GetModuleSpecifications() to work better overall: 2013-07-12 22:07:46 +00:00
lib Revert the ELF core file support until a few things can be worked out: 2013-07-12 22:52:22 +00:00
lldb.xcodeproj Fixed GetModuleSpecifications() to work better overall: 2013-07-12 22:07:46 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Updated Apple LLDB version to lldb-300.99.0. Also 2013-03-07 22:29:06 +00:00
scripts Second attempt at getting the PyCallable changes in trunk 2013-07-09 20:14:26 +00:00
source Revert the ELF core file support until a few things can be worked out: 2013-07-12 22:52:22 +00:00
test Work-around for GCC issue where setting a breakpoint on a vector definition also adds a breakpoint on the d'tor call 2013-07-12 19:46:47 +00:00
tools Get debugserver to call task_set_state to prime the control registers so that watchpoints 2013-07-11 23:20:35 +00:00
utils Fixed continue issues with process attach/detach 2013-05-28 21:27:03 +00:00
www Adding information on the scriptable keywords ${target|process|thread|frame.script:function} to the LLDB documentation 2013-07-12 20:46:02 +00:00
.arcconfig Adding .arcconfig file to LLDB to allow using Phabricator for reviews 2013-05-23 20:21:28 +00:00
.gitignore Remove "llvm" from list of things to ignore. This results in the 2012-03-03 06:43:59 +00:00
CMakeLists.txt Revise r184335 so that warning suppression flag is only for clang 3.4 and higher 2013-06-20 06:47:36 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Fix Linux i386 build 2013-03-07 00:48:53 +00:00