mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
gdbstub: Introduce GdbBreakpointType enumerator
Introduce the GdbBreakpointType enumerator to better follow code related to GDB protocol handling. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20260705215729.62196-25-philmd@oss.qualcomm.com>
This commit is contained in:
@@ -12,10 +12,12 @@
|
||||
#define DEFAULT_GDBSTUB_PORT "1234"
|
||||
|
||||
/* GDB breakpoint/watchpoint types */
|
||||
#define GDB_BREAKPOINT_SW 0
|
||||
#define GDB_BREAKPOINT_HW 1
|
||||
#define GDB_WATCHPOINT_WRITE 2
|
||||
#define GDB_WATCHPOINT_READ 3
|
||||
#define GDB_WATCHPOINT_ACCESS 4
|
||||
typedef enum GdbBreakpointType {
|
||||
GDB_BREAKPOINT_SW = 0,
|
||||
GDB_BREAKPOINT_HW = 1,
|
||||
GDB_WATCHPOINT_WRITE = 2,
|
||||
GDB_WATCHPOINT_READ = 3,
|
||||
GDB_WATCHPOINT_ACCESS = 4,
|
||||
} GdbBreakpointType;
|
||||
|
||||
#endif /* GDBSTUB_ENUMS_H */
|
||||
|
||||
Reference in New Issue
Block a user