1 | //===-- NativeBreakpointList.h ----------------------------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef LLDB_HOST_COMMON_NATIVEBREAKPOINTLIST_H |
10 | #define LLDB_HOST_COMMON_NATIVEBREAKPOINTLIST_H |
11 | |
12 | #include "lldb/lldb-private-forward.h" |
13 | #include "lldb/lldb-types.h" |
14 | #include <map> |
15 | |
16 | namespace lldb_private { |
17 | |
18 | struct HardwareBreakpoint { |
19 | lldb::addr_t m_addr; |
20 | size_t m_size; |
21 | }; |
22 | |
23 | using HardwareBreakpointMap = std::map<lldb::addr_t, HardwareBreakpoint>; |
24 | } |
25 | |
26 | #endif // LLDB_HOST_COMMON_NATIVEBREAKPOINTLIST_H |
27 | |