blob: dbc832b4307abd6e04c4590a0e946540d338dc34 [file] [log] [blame]
Chris Lattner30fdc8d2010-06-08 16:52:24 +00001//===-- 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
Chris Lattner30fdc8d2010-06-08 16:52:24 +000010#include "lldb/Breakpoint/Stoppoint.h"
Kate Stoneb9c1b512016-09-06 20:57:50 +000011#include "lldb/lldb-private.h"
Chris Lattner30fdc8d2010-06-08 16:52:24 +000012
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//----------------------------------------------------------------------
Kate Stoneb9c1b512016-09-06 20:57:50 +000024Stoppoint::Stoppoint() : m_bid(LLDB_INVALID_BREAK_ID) {}
Chris Lattner30fdc8d2010-06-08 16:52:24 +000025
26//----------------------------------------------------------------------
27// Destructor
28//----------------------------------------------------------------------
Kate Stoneb9c1b512016-09-06 20:57:50 +000029Stoppoint::~Stoppoint() {}
Chris Lattner30fdc8d2010-06-08 16:52:24 +000030
Kate Stoneb9c1b512016-09-06 20:57:50 +000031break_id_t Stoppoint::GetID() const { return m_bid; }
Chris Lattner30fdc8d2010-06-08 16:52:24 +000032
Kate Stoneb9c1b512016-09-06 20:57:50 +000033void Stoppoint::SetID(break_id_t bid) { m_bid = bid; }