master
h 23 lines 482 Bytes
Raw
1 /*
2 * gdbstub enums
3 *
4 * Copyright (c) 2024 Linaro Ltd
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #ifndef GDBSTUB_ENUMS_H
10 #define GDBSTUB_ENUMS_H
11
12 #define DEFAULT_GDBSTUB_PORT "1234"
13
14 /* GDB breakpoint/watchpoint types */
15 typedef enum GdbBreakpointType {
16 GDB_BREAKPOINT_SW = 0,
17 GDB_BREAKPOINT_HW = 1,
18 GDB_WATCHPOINT_WRITE = 2,
19 GDB_WATCHPOINT_READ = 3,
20 GDB_WATCHPOINT_ACCESS = 4,
21 } GdbBreakpointType;
22
23 #endif /* GDBSTUB_ENUMS_H */