summaryrefslogtreecommitdiffstats
path: root/lldb/source/lldb.cpp
diff options
context:
space:
mode:
authorAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-07-12 21:25:02 +0000
committerAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-07-12 21:25:02 +0000
commitc037383aff81a61ed956858353ec003e970fb2ce (patch)
treee7897f7b95d446521a57490f2d30aeff44657375 /lldb/source/lldb.cpp
parent04397c1e9c8e6663b02ddfcb2e9a9af4e6b54871 (diff)
downloadbcm5719-llvm-c037383aff81a61ed956858353ec003e970fb2ce.tar.gz
bcm5719-llvm-c037383aff81a61ed956858353ec003e970fb2ce.zip
Introduces core file support for Linux x86-64 using 'lldb a.out -c core'.
TODO: Support for RegisterContext_x86_64::ReadFPR. Patch by Samuel Jacob! llvm-svn: 186207
Diffstat (limited to 'lldb/source/lldb.cpp')
-rw-r--r--lldb/source/lldb.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp
index f2dfdee96a0..681e46d6065 100644
--- a/lldb/source/lldb.cpp
+++ b/lldb/source/lldb.cpp
@@ -61,6 +61,7 @@
#endif
#include "Plugins/Process/mach-core/ProcessMachCore.h"
+#include "Plugins/Process/elf-core/ProcessElfCore.h"
#if defined (__linux__)
#include "Plugins/Process/Linux/ProcessLinux.h"
@@ -145,6 +146,7 @@ lldb_private::Initialize ()
//----------------------------------------------------------------------
// Platform agnostic plugins
//----------------------------------------------------------------------
+ ProcessElfCore::Initialize();
PlatformRemoteGDBServer::Initialize ();
ProcessGDBRemote::Initialize();
DynamicLoaderStatic::Initialize();
@@ -220,7 +222,8 @@ lldb_private::Terminate ()
#if defined (__FreeBSD__)
ProcessFreeBSD::Terminate();
#endif
-
+
+ ProcessElfCore::Terminate();
ProcessGDBRemote::Terminate();
DynamicLoaderStatic::Terminate();
OpenPOWER on IntegriCloud