summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/connect_remote/TestConnectRemote.py
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-05-07 22:46:38 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-05-07 22:46:38 +0000
commitbf9b4c171a6481ef1341b754c67da82559b76450 (patch)
tree1551eecaf552f0020a5d629d7fb49d886598fcb2 /lldb/test/functionalities/connect_remote/TestConnectRemote.py
parent8f1fb6f03df0e79ac6ee6119327f0edf9870554b (diff)
downloadbcm5719-llvm-bf9b4c171a6481ef1341b754c67da82559b76450.tar.gz
bcm5719-llvm-bf9b4c171a6481ef1341b754c67da82559b76450.zip
Adding support for process attach by pid on Linux.
llvm-svn: 181374
Diffstat (limited to 'lldb/test/functionalities/connect_remote/TestConnectRemote.py')
-rw-r--r--lldb/test/functionalities/connect_remote/TestConnectRemote.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/test/functionalities/connect_remote/TestConnectRemote.py b/lldb/test/functionalities/connect_remote/TestConnectRemote.py
index e36647e27c2..2ec3bfba2f7 100644
--- a/lldb/test/functionalities/connect_remote/TestConnectRemote.py
+++ b/lldb/test/functionalities/connect_remote/TestConnectRemote.py
@@ -31,7 +31,10 @@ class ConnectRemoteTestCase(TestBase):
fakeserver.expect_exact('Listening on localhost:12345')
# Connect to the fake server....
- self.runCmd("process connect connect://localhost:12345")
+ if sys.platform.startswith("linux"):
+ self.runCmd("process connect -p gdb-remote connect://localhost:12345")
+ else:
+ self.runCmd("process connect connect://localhost:12345")
if __name__ == '__main__':
OpenPOWER on IntegriCloud