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 18using namespace lldb; 19using namespace lldb_private; 20 21//---------------------------------------------------------------------- 22// Stoppoint constructor 23//---------------------------------------------------------------------- 24Stoppoint::Stoppoint() : 25 m_bid (LLDB_INVALID_BREAK_ID) 26{ 27} 28 29//---------------------------------------------------------------------- 30// Destructor 31//---------------------------------------------------------------------- 32Stoppoint::~Stoppoint() 33{ 34} 35 36break_id_t 37Stoppoint::GetID () const 38{ 39 return m_bid; 40} 41 42void 43Stoppoint::SetID (break_id_t bid) 44{ 45 m_bid = bid; 46} 47