[Lldb-commits] [lldb] r187418 - tests: process connect needs "-p gdb-remote" on FreeBSD as on Linux

Ed Maste emaste at freebsd.org
Tue Jul 30 06:25:27 PDT 2013


Author: emaste
Date: Tue Jul 30 08:25:27 2013
New Revision: 187418

URL: http://llvm.org/viewvc/llvm-project?rev=187418&view=rev
Log:
tests: process connect needs "-p gdb-remote" on FreeBSD as on Linux


Modified:
    lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py

Modified: lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py?rev=187418&r1=187417&r2=187418&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py (original)
+++ lldb/trunk/test/functionalities/connect_remote/TestConnectRemote.py Tue Jul 30 08:25:27 2013
@@ -31,7 +31,7 @@ class ConnectRemoteTestCase(TestBase):
         fakeserver.expect_exact('Listening on localhost:12345')
 
         # Connect to the fake server....
-        if sys.platform.startswith("linux"):
+        if sys.platform.startswith('freebsd') or sys.platform.startswith("linux"):
             self.runCmd("process connect -p gdb-remote connect://localhost:12345")
         else:
             self.runCmd("process connect connect://localhost:12345")





More information about the lldb-commits mailing list