diff options
| author | Chaoren Lin <chaorenl@google.com> | 2015-02-03 01:51:25 +0000 |
|---|---|---|
| committer | Chaoren Lin <chaorenl@google.com> | 2015-02-03 01:51:25 +0000 |
| commit | 28e57429fcfd6ef45919e89a641ebabf0a568f09 (patch) | |
| tree | 3662703b83ebd78f90e2188ffa099e21fe741f24 /lldb/source/Plugins/Process/POSIX/POSIXStopInfo.h | |
| parent | 72b8f058789fbd4d46be300609018de260002a7f (diff) | |
| download | bcm5719-llvm-28e57429fcfd6ef45919e89a641ebabf0a568f09.tar.gz bcm5719-llvm-28e57429fcfd6ef45919e89a641ebabf0a568f09.zip | |
Share crash information between LLGS and local POSIX debugging with
CrashReason class. Deliver crash information from LLGS to lldb via
description field of thread stop packet.
llvm-svn: 227926
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX/POSIXStopInfo.h')
| -rw-r--r-- | lldb/source/Plugins/Process/POSIX/POSIXStopInfo.h | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/POSIXStopInfo.h b/lldb/source/Plugins/Process/POSIX/POSIXStopInfo.h index cbf309e5350..a1ee2ea6852 100644 --- a/lldb/source/Plugins/Process/POSIX/POSIXStopInfo.h +++ b/lldb/source/Plugins/Process/POSIX/POSIXStopInfo.h @@ -16,8 +16,10 @@ // Project includes #include "lldb/Target/StopInfo.h" +#include "CrashReason.h" #include "POSIXThread.h" -#include "ProcessMessage.h" + +#include <string> //===----------------------------------------------------------------------===// /// @class POSIXStopInfo @@ -69,25 +71,13 @@ class POSIXCrashStopInfo { public: POSIXCrashStopInfo(POSIXThread &thread, uint32_t status, - ProcessMessage::CrashReason reason, - lldb::addr_t fault_addr) - : POSIXStopInfo(thread, status), - m_crash_reason(reason), - m_fault_addr(fault_addr) - { } - + CrashReason reason, + lldb::addr_t fault_addr); ~POSIXCrashStopInfo(); lldb::StopReason GetStopReason() const; - - const char * - GetDescription(); - -private: - ProcessMessage::CrashReason m_crash_reason; - lldb::addr_t m_fault_addr; -}; +}; //===----------------------------------------------------------------------===// /// @class POSIXNewThreadStopInfo |

