1 //===-- POSIXStopInfo.cpp ---------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "POSIXStopInfo.h"
13 using namespace lldb_private;
16 //===----------------------------------------------------------------------===//
19 POSIXLimboStopInfo::~POSIXLimboStopInfo() { }
22 POSIXLimboStopInfo::GetStopReason() const
24 return lldb::eStopReasonThreadExiting;
28 POSIXLimboStopInfo::GetDescription()
30 return "thread exiting";
34 POSIXLimboStopInfo::ShouldStop(Event *event_ptr)
40 POSIXLimboStopInfo::ShouldNotify(Event *event_ptr)
45 //===----------------------------------------------------------------------===//
48 POSIXCrashStopInfo::~POSIXCrashStopInfo() { }
51 POSIXCrashStopInfo::GetStopReason() const
53 return lldb::eStopReasonException;
57 POSIXCrashStopInfo::GetDescription()
59 return ProcessMessage::GetCrashReasonString(m_crash_reason, m_fault_addr);
62 //===----------------------------------------------------------------------===//
63 // POSIXNewThreadStopInfo
65 POSIXNewThreadStopInfo::~POSIXNewThreadStopInfo() { }
68 POSIXNewThreadStopInfo::GetStopReason() const
70 return lldb::eStopReasonNone;
74 POSIXNewThreadStopInfo::GetDescription()
76 return "thread spawned";
80 POSIXNewThreadStopInfo::ShouldStop(Event *event_ptr)
86 POSIXNewThreadStopInfo::ShouldNotify(Event *event_ptr)