summaryrefslogtreecommitdiff
path: root/include/lldb/Host/common/NativeBreakpointList.h
blob: b57174e51564edbd0c809371c5098a4576483229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//===-- NativeBreakpointList.h ----------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef liblldb_NativeBreakpointList_h_
#define liblldb_NativeBreakpointList_h_

#include "lldb/lldb-private-forward.h"
#include "lldb/lldb-types.h"
#include <map>

namespace lldb_private {

struct HardwareBreakpoint {
  lldb::addr_t m_addr;
  size_t m_size;
};

using HardwareBreakpointMap = std::map<lldb::addr_t, HardwareBreakpoint>;
}

#endif // ifndef liblldb_NativeBreakpointList_h_