Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 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 | //---------------------------------------------------------------------- |
| 24 | Stoppoint::Stoppoint() : |
| 25 | m_bid (LLDB_INVALID_BREAK_ID) |
| 26 | { |
| 27 | } |
| 28 | |
| 29 | //---------------------------------------------------------------------- |
| 30 | // Destructor |
| 31 | //---------------------------------------------------------------------- |
| 32 | Stoppoint::~Stoppoint() |
| 33 | { |
| 34 | } |
| 35 | |
| 36 | break_id_t |
| 37 | Stoppoint::GetID () const |
| 38 | { |
| 39 | return m_bid; |
| 40 | } |
| 41 | |
| 42 | void |
| 43 | Stoppoint::SetID (break_id_t bid) |
| 44 | { |
| 45 | m_bid = bid; |
| 46 | } |