1 //===-- Stoppoint.cpp -------------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include "lldb/lldb-private.h" 11 #include "lldb/Breakpoint/Stoppoint.h" 12 13 // C Includes 14 // C++ Includes 15 // Other libraries and framework includes 16 // Project includes 17 18 using namespace lldb; 19 using namespace lldb_private; 20 21 //---------------------------------------------------------------------- 22 // Stoppoint constructor 23 //---------------------------------------------------------------------- Stoppoint()24Stoppoint::Stoppoint() : 25 m_bid (LLDB_INVALID_BREAK_ID) 26 { 27 } 28 29 //---------------------------------------------------------------------- 30 // Destructor 31 //---------------------------------------------------------------------- ~Stoppoint()32Stoppoint::~Stoppoint() 33 { 34 } 35 36 break_id_t GetID() const37Stoppoint::GetID () const 38 { 39 return m_bid; 40 } 41 42 void SetID(break_id_t bid)43Stoppoint::SetID (break_id_t bid) 44 { 45 m_bid = bid; 46 } 47