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://<fd>" where
<fd> 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
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 79f77e2..afd6af6 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -352,14 +352,7 @@
     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;