summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.h')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeThreadLinux.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h
index 7233b30237b..2519b5b1da0 100644
--- a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h
+++ b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h
@@ -13,6 +13,8 @@
#include "lldb/lldb-private-forward.h"
#include "lldb/Host/common/NativeThreadProtocol.h"
+#include <map>
+
namespace lldb_private
{
class NativeProcessLinux;
@@ -73,9 +75,15 @@ namespace lldb_private
void
SetStoppedByBreakpoint ();
+ void
+ SetStoppedByWatchpoint ();
+
bool
IsStoppedAtBreakpoint ();
+ bool
+ IsStoppedAtWatchpoint ();
+
void
SetStoppedByTrace ();
@@ -101,6 +109,8 @@ namespace lldb_private
ThreadStopInfo m_stop_info;
NativeRegisterContextSP m_reg_context_sp;
std::string m_stop_description;
+ using WatchpointIndexMap = std::map<lldb::addr_t, uint32_t>;
+ WatchpointIndexMap m_watchpoint_index_map;
};
}
OpenPOWER on IntegriCloud