mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 07:01:03 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user