summaryrefslogtreecommitdiffstats
path: root/lldb/source/lldb.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-04-14 00:54:42 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-04-14 00:54:42 +0000
commit7b9f93a1868b3a12b6ff5bf6e8dad63437d83cd4 (patch)
tree2601b48f96604bbddfe29c1e5e7d22e81c83e378 /lldb/source/lldb.cpp
parentc202b2809ac814bcae8553cd772ec4901fdb8441 (diff)
downloadbcm5719-llvm-7b9f93a1868b3a12b6ff5bf6e8dad63437d83cd4.tar.gz
bcm5719-llvm-7b9f93a1868b3a12b6ff5bf6e8dad63437d83cd4.zip
Patch from Viktor Kutuzov <vkutuzov@accesssoftek.com>:
Hello everyone, please find the attached patch for TOT and lldb-platform-work branch, which provides the following changes: - fixed a crash in the ProcessPOSIX constructor when an executable module object is not yet created. - added support for the multi instanciated FreeBSD platform objects (the local host and remote as example). - enabled the remote gdb plugin on FreeBSD. llvm-svn: 154724
Diffstat (limited to 'lldb/source/lldb.cpp')
-rw-r--r--lldb/source/lldb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp
index a4d0f571b58..e261091c94d 100644
--- a/lldb/source/lldb.cpp
+++ b/lldb/source/lldb.cpp
@@ -63,6 +63,7 @@
#endif
#if defined (__FreeBSD__)
+#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
#include "Plugins/Process/POSIX/ProcessPOSIX.h"
#include "Plugins/Process/FreeBSD/ProcessFreeBSD.h"
#endif
@@ -133,6 +134,7 @@ lldb_private::Initialize ()
#endif
#if defined (__FreeBSD__)
ProcessFreeBSD::Initialize();
+ ProcessGDBRemote::Initialize();
#endif
//----------------------------------------------------------------------
// Platform agnostic plugins
@@ -207,6 +209,7 @@ lldb_private::Terminate ()
#if defined (__FreeBSD__)
ProcessFreeBSD::Terminate();
+ ProcessGDBRemote::Terminate();
#endif
DynamicLoaderStatic::Terminate();
OpenPOWER on IntegriCloud