summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-07-29 12:33:31 +0000
committerPavel Labath <labath@google.com>2015-07-29 12:33:31 +0000
commit6e4f19d440865dd82cfce5eed1a81c6fa7050dab (patch)
tree766c61a2930549636490e1e273ffca9a2e83c65b /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
parenta6c31703ac51c9037fbb9a9f68d1fc48b34891db (diff)
downloadbcm5719-llvm-6e4f19d440865dd82cfce5eed1a81c6fa7050dab.tar.gz
bcm5719-llvm-6e4f19d440865dd82cfce5eed1a81c6fa7050dab.zip
[LLGS] Spawned process handling cleanup
Summary: 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). Reviewers: ovyalov, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11557 llvm-svn: 243513
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
index 62b129bb18b..4eff8042086 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
@@ -12,7 +12,6 @@
// C Includes
// C++ Includes
-#include <set>
// Other libraries and framework includes
#include "lldb/lldb-private-forward.h"
@@ -40,8 +39,6 @@ public:
~GDBRemoteCommunicationServerCommon();
protected:
- std::set<lldb::pid_t> m_spawned_pids;
- Mutex m_spawned_pids_mutex;
ProcessLaunchInfo m_process_launch_info;
Error m_process_launch_error;
ProcessInstanceInfoList m_proc_infos;
@@ -74,9 +71,6 @@ protected:
Handle_qSpeedTest (StringExtractorGDBRemote &packet);
PacketResult
- Handle_qKillSpawnedProcess (StringExtractorGDBRemote &packet);
-
- PacketResult
Handle_vFile_Open (StringExtractorGDBRemote &packet);
PacketResult
@@ -160,9 +154,6 @@ protected:
PacketResult
Handle_QLaunchArch (StringExtractorGDBRemote &packet);
- bool
- KillSpawnedProcess (lldb::pid_t pid);
-
static void
CreateProcessInfoResponse (const ProcessInstanceInfo &proc_info,
StreamString &response);
OpenPOWER on IntegriCloud