llvm-project/lldb/source/Plugins
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
..
ABI Huge change to clean up types. 2013-07-11 22:46:58 +00:00
Disassembler Fix "source list -n printf" on Linux (printf is symbol alias for __printf) 2013-07-11 16:40:56 +00:00
DynamicLoader Revert the ELF core file support until a few things can be worked out: 2013-07-12 22:52:22 +00:00
Instruction Fixed the instruction emulation so that it doesn't 2013-06-25 00:32:45 +00:00
LanguageRuntime Huge change to clean up types. 2013-07-11 22:46:58 +00:00
ObjectContainer Fixed GetModuleSpecifications() to work better overall: 2013-07-12 22:07:46 +00:00
ObjectFile Fixed GetModuleSpecifications() to work better overall: 2013-07-12 22:07:46 +00:00
OperatingSystem <rdar://problem/13956179> 2013-05-29 23:31:14 +00:00
Platform Following the modification introduced in llvm by commit 185311 2013-07-01 08:21:36 +00:00
Process Revert the ELF core file support until a few things can be worked out: 2013-07-12 22:52:22 +00:00
SymbolFile Fix the linux gcc 4.6.3 buildbot failures that happened after my recent types checkin. 2013-07-12 20:08:35 +00:00
SymbolVendor Call xmlFree on the node contents returned by xmlNodeGetContent, as the docs say to do. 2013-07-10 02:21:57 +00:00
UnwindAssembly <rdar://problem/13854277> 2013-05-10 21:47:16 +00:00
CMakeLists.txt Adding CMake build system to LLDB. Some known issues remain: 2013-02-21 20:58:22 +00:00
Makefile Revert the ELF core file support until a few things can be worked out: 2013-07-12 22:52:22 +00:00