[Lldb-commits] [PATCH] D11557: [LLGS] Spawned process handling cleanup

Pavel Labath labath at google.com
Tue Jul 28 03:08:11 PDT 2015


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

This commit moves the m_spawned_pids member from the common LLGS/Platform class to the plaform
specific part. This enables us to remove LLGS code, which was attempting to manage the
m_spawned_pids contents, but at the same time making sure, there is only one debugged process. If
we ever want to do multi-process debugging, we will probably want to replace this with a set of
NativeProcessProtocolSP anyway. The only functional change is that support for
qKillSpawnedProcess packet is removed from LLGS, but this was not used there anyway (we have the
k packet for that).

http://reviews.llvm.org/D11557

Files:
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11557.30797.patch
Type: text/x-patch
Size: 18591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150728/9e4fb23f/attachment.bin>


More information about the lldb-commits mailing list