diff options
author | Greg Clayton <gclayton@apple.com> | 2011-04-30 01:09:13 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-04-30 01:09:13 +0000 |
commit | 2289fa48209997bbda285c8ba2f25fa0f4eac39f (patch) | |
tree | 9923690777bc045d842494ee8a206c91ce1810eb /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 3909e037abf5d411c2cdbf0b5ec7d8a0f1dffdc9 (diff) | |
download | bcm5719-llvm-2289fa48209997bbda285c8ba2f25fa0f4eac39f.tar.gz bcm5719-llvm-2289fa48209997bbda285c8ba2f25fa0f4eac39f.zip |
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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
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; |