[Lldb-commits] [lldb] r171855 - in /lldb/trunk: source/lldb.cpp test/functionalities/connect_remote/TestConnectRemote.py
Daniel Malea
daniel.malea at intel.com
Tue Jan 8 06:55:36 PST 2013
Author: dmalea
Date: Tue Jan 8 08:55:36 2013
New Revision: 171855
URL: http://llvm.org/viewvc/llvm-project?rev=171855&view=rev
Log:
Enable ProcessGDBRemote plugin on Linux
- Fixes test case TestConnectRemote
Modified:
lldb/trunk/source/lldb.cpp
lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py
Modified: lldb/trunk/source/lldb.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/lldb.cpp?rev=171855&r1=171854&r2=171855&view=diff
==============================================================================
--- lldb/trunk/source/lldb.cpp (original)
+++ lldb/trunk/source/lldb.cpp Tue Jan 8 08:55:36 2013
@@ -54,7 +54,6 @@
#include "Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h"
#include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
#include "Plugins/Process/MacOSX-Kernel/ProcessKDP.h"
-#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
#include "Plugins/Platform/MacOSX/PlatformMacOSX.h"
#include "Plugins/Platform/MacOSX/PlatformRemoteiOS.h"
#include "Plugins/Platform/MacOSX/PlatformiOSSimulator.h"
@@ -67,12 +66,12 @@
#endif
#if defined (__FreeBSD__)
-#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
#include "Plugins/Process/POSIX/ProcessPOSIX.h"
#include "Plugins/Process/FreeBSD/ProcessFreeBSD.h"
#endif
#include "Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h"
+#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
#include "Plugins/DynamicLoader/Static/DynamicLoaderStatic.h"
using namespace lldb;
@@ -125,7 +124,6 @@
AppleObjCRuntimeV1::Initialize();
ObjectContainerUniversalMachO::Initialize();
ObjectFileMachO::Initialize();
- ProcessGDBRemote::Initialize();
ProcessKDP::Initialize();
ProcessMachCore::Initialize();
SymbolVendorMacOSX::Initialize();
@@ -141,12 +139,12 @@
#endif
#if defined (__FreeBSD__)
ProcessFreeBSD::Initialize();
- ProcessGDBRemote::Initialize();
#endif
//----------------------------------------------------------------------
// Platform agnostic plugins
//----------------------------------------------------------------------
PlatformRemoteGDBServer::Initialize ();
+ ProcessGDBRemote::Initialize();
DynamicLoaderStatic::Initialize();
// Scan for any system or user LLDB plug-ins
@@ -203,7 +201,6 @@
ObjectContainerUniversalMachO::Terminate();
ObjectFileMachO::Terminate();
ProcessMachCore::Terminate();
- ProcessGDBRemote::Terminate();
ProcessKDP::Terminate();
SymbolVendorMacOSX::Terminate();
PlatformMacOSX::Terminate();
@@ -219,9 +216,9 @@
#if defined (__FreeBSD__)
ProcessFreeBSD::Terminate();
- ProcessGDBRemote::Terminate();
#endif
+ ProcessGDBRemote::Terminate();
DynamicLoaderStatic::Terminate();
Log::Terminate();
Modified: lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py?rev=171855&r1=171854&r2=171855&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py (original)
+++ lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py Tue Jan 8 08:55:36 2013
@@ -12,7 +12,6 @@
mydir = os.path.join("functionalities", "connect_remote")
- @expectedFailureLinux # bugzilla 14427
def test_connect_remote(self):
"""Test "process connect connect:://localhost:12345"."""
More information about the lldb-commits
mailing list