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
This commit is contained in:
Johnny Chen
2012-04-14 00:54:42 +00:00
parent c202b2809a
commit 7b9f93a186
4 changed files with 19 additions and 13 deletions

View File

@@ -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();