aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatt Kopec <Matt.Kopec@intel.com>2013-05-31 22:00:07 +0000
committerMatt Kopec <Matt.Kopec@intel.com>2013-05-31 22:00:07 +0000
commitc350e13fd3351613345141bee7d8b2543df54636 (patch)
tree9fac0ad4b041e4e8dcfce850c9b50cd2ed4468d2 /include
parente6acc70303c634b71fdfe0133f6aa6be4476403b (diff)
downloadlldb-c350e13fd3351613345141bee7d8b2543df54636.tar.gz
Add ability to attach/detach to multi-threaded inferiors on Linux.
All running threads will be detected and stopped on attach and all threads get resumed on detach. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/lldb/Host/Host.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/lldb/Host/Host.h b/include/lldb/Host/Host.h
index 90fbb0a0c..1fcb0daeb 100644
--- a/include/lldb/Host/Host.h
+++ b/include/lldb/Host/Host.h
@@ -13,6 +13,7 @@
#include <stdarg.h>
+#include <map>
#include <string>
#include "lldb/lldb-private.h"
@@ -414,7 +415,12 @@ public:
static uint32_t
FindProcesses (const ProcessInstanceInfoMatch &match_info,
ProcessInstanceInfoList &proc_infos);
-
+
+ typedef std::map<lldb::pid_t, bool> TidMap;
+ typedef std::pair<lldb::pid_t, bool> TidPair;
+ static bool
+ FindProcessThreads (const lldb::pid_t pid, TidMap &tids_to_attach);
+
static bool
GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &proc_info);