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;
15 //===----------------------------------------------------------------------===//
18 POSIXLimboStopInfo::~POSIXLimboStopInfo() {}
20 lldb::StopReason POSIXLimboStopInfo::GetStopReason() const {
21 return lldb::eStopReasonThreadExiting;
24 const char *POSIXLimboStopInfo::GetDescription() { return "thread exiting"; }
26 bool POSIXLimboStopInfo::ShouldStop(Event *event_ptr) { return false; }
28 bool POSIXLimboStopInfo::ShouldNotify(Event *event_ptr) { return false; }
30 //===----------------------------------------------------------------------===//
31 // POSIXNewThreadStopInfo
33 POSIXNewThreadStopInfo::~POSIXNewThreadStopInfo() {}
35 lldb::StopReason POSIXNewThreadStopInfo::GetStopReason() const {
36 return lldb::eStopReasonNone;
39 const char *POSIXNewThreadStopInfo::GetDescription() {
40 return "thread spawned";
43 bool POSIXNewThreadStopInfo::ShouldStop(Event *event_ptr) { return false; }
45 bool POSIXNewThreadStopInfo::ShouldNotify(Event *event_ptr) { return false; }