From 2289fa48209997bbda285c8ba2f25fa0f4eac39f Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 30 Apr 2011 01:09:13 +0000 Subject: Added the ability to set the Platform path for a module through the SBModule interface. Added a quick way to set the platform though the SBDebugger interface. I will actually an a SBPlatform support soon, but for now this will do. ConnectionFileDescriptor can be passed a url formatted as: "fd://" where is a file descriptor in the current process. This is handy if you have services, deamons, or other tools that can spawn processes and give you a file handle. llvm-svn: 130565 --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 79f77e219d1..afd6af6a5c2 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -352,14 +352,7 @@ ProcessGDBRemote::DoConnectRemote (const char *remote_url) if (error.Fail()) return error; - if (strncmp (remote_url, "connect://", strlen ("connect://")) == 0) - { - error = ConnectToDebugserver (remote_url); - } - else - { - error.SetErrorStringWithFormat ("unsupported remote url: %s", remote_url); - } + error = ConnectToDebugserver (remote_url); if (error.Fail()) return error; -- cgit v1.2.3