[Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command
Francis Ricci via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 10 14:17:57 PST 2016
fjricci created this revision.
fjricci added reviewers: tberghammer, clayborg, jasonmolenda.
fjricci added subscribers: lldb-commits, sas.
Add an optional "reverse" option to the gdb-remote command,
which causes lldb to listen on the specified [host:]port,
waiting for the remote server to reverse-connect back to lldb.
http://reviews.llvm.org/D17099
Files:
packages/Python/lldbsuite/test/decorators.py
Index: packages/Python/lldbsuite/test/decorators.py
===================================================================
--- packages/Python/lldbsuite/test/decorators.py
+++ packages/Python/lldbsuite/test/decorators.py
@@ -391,18 +391,6 @@
return "skip on remote platform" if lldb.remote_platform else None
return skipTestIfFn(is_remote)(func)
-def skipUnlessListedRemote(remote_list=None):
- def is_remote_unlisted(self):
- if remote_list and lldb.remote_platform:
- triple = self.dbg.GetSelectedPlatform().GetTriple()
- for r in remote_list:
- if r in triple:
- return None
- return "skipping because remote is not listed"
- else:
- return None
- return skipTestIfFn(is_remote_unlisted)
-
def skipIfRemoteDueToDeadlock(func):
"""Decorate the item to skip tests if testing remotely due to the test deadlocking."""
def is_remote():
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17099.47523.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160210/ff56b92e/attachment.bin>
More information about the lldb-commits
mailing list