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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130565 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 79f77e2..afd6af6 100644
--- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/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;