summaryrefslogtreecommitdiffstats
path: root/lldb/source/lldb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/lldb.cpp')
-rw-r--r--lldb/source/lldb.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp
index 6f219d446ff..f6a30ed7052 100644
--- a/lldb/source/lldb.cpp
+++ b/lldb/source/lldb.cpp
@@ -54,6 +54,7 @@
#include "Plugins/Process/Linux/ProcessLinux.h"
#endif
+#include "Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h"
#include "Plugins/DynamicLoader/Static/DynamicLoaderStatic.h"
using namespace lldb;
@@ -86,6 +87,9 @@ lldb_private::Initialize ()
ArchVolatileRegs_x86::Initialize();
#if defined (__APPLE__)
+ //----------------------------------------------------------------------
+ // Apple/Darwin hosted plugins
+ //----------------------------------------------------------------------
ABIMacOSX_i386::Initialize();
ABISysV_x86_64::Initialize();
DynamicLoaderMacOSXDYLD::Initialize();
@@ -102,11 +106,19 @@ lldb_private::Initialize ()
PlatformRemoteiOS::Initialize();
#endif
#if defined (__linux__)
+ //----------------------------------------------------------------------
+ // Linux hosted plugins
+ //----------------------------------------------------------------------
PlatformLinux::Initialize();
ProcessLinux::Initialize();
DynamicLoaderLinuxDYLD::Initialize();
#endif
+ //----------------------------------------------------------------------
+ // Platform agnostic plugins
+ //----------------------------------------------------------------------
+ PlatformRemoteGDBServer::Initialize ();
DynamicLoaderStatic::Initialize();
+
// Scan for any system or user LLDB plug-ins
PluginManager::Initialize();
OpenPOWER on IntegriCloud