[Lldb-commits] [PATCH] D14895: Prevent ProcessGDBRemote from launching local debug server in case of remote debug server connection failure

Oleksiy Vyalov via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 20 16:25:27 PST 2015


ovyalov created this revision.
ovyalov added reviewers: clayborg, labath.
ovyalov added a subscriber: lldb-commits.

If remote platform is used and we're losing remote debug server connection in between Process::ConnectRemote and Process::Attach (in context of PlatformRemoteGDBServer::Attach) current implementation of ProcessGDBRemote thinks that we're in local debug mode and tries to spawn a local debug server. This CL checks whether ProcessGDBRemote is using a remote platform and fails if remote debug server connection is lost.

http://reviews.llvm.org/D14895

Files:
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14895.40845.patch
Type: text/x-patch
Size: 3993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151121/655eccba/attachment.bin>


More information about the lldb-commits mailing list