diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 | 
| commit | f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 (patch) | |
| tree | 48d008fd3df8c0e73271a4b18474e0aac6dbfe33 /source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | |
| parent | 2fc5d2d1dfaf623ce4e24cd8590565902f8c557c (diff) | |
Notes
Diffstat (limited to 'source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
| -rw-r--r-- | source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h index 311b0f3267c8..096c4cf81015 100644 --- a/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h +++ b/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h @@ -13,6 +13,7 @@  // C Includes  // C++ Includes  #include <map> +#include <mutex>  #include <string>  #include <vector> @@ -527,7 +528,7 @@ public:      bool      ReadRegister(lldb::tid_t tid, -                 uint32_t reg_num, +                 uint32_t reg_num,   // Must be the eRegisterKindProcessPlugin register number, to be sent to the remote                   StringExtractorGDBRemote &response);      bool @@ -631,7 +632,7 @@ protected:      // If we need to send a packet while the target is running, the m_async_XXX      // member variables take care of making this happen. -    Mutex m_async_mutex; +    std::recursive_mutex m_async_mutex;      Predicate<bool> m_async_packet_predicate;      std::string m_async_packet;      PacketResult m_async_result;  | 
