Alex Bennée | ae7467b | 2022-09-29 12:42:24 +0100 | [diff] [blame] | 1 | /* |
| 2 | * gdbstub internals |
| 3 | * |
| 4 | * Copyright (c) 2022 Linaro Ltd |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 7 | */ |
| 8 | |
Alex Bennée | 9774855 | 2023-03-02 18:57:37 -0800 | [diff] [blame^] | 9 | #ifndef GDBSTUB_INTERNALS_H |
| 10 | #define GDBSTUB_INTERNALS_H |
Alex Bennée | ae7467b | 2022-09-29 12:42:24 +0100 | [diff] [blame] | 11 | |
Philippe Mathieu-Daudé | 55b5b8e | 2022-12-06 16:20:27 +0100 | [diff] [blame] | 12 | #include "exec/cpu-common.h" |
| 13 | |
Alex Bennée | a48e7d9 | 2022-09-29 12:42:25 +0100 | [diff] [blame] | 14 | bool gdb_supports_guest_debug(void); |
Philippe Mathieu-Daudé | 55b5b8e | 2022-12-06 16:20:27 +0100 | [diff] [blame] | 15 | int gdb_breakpoint_insert(CPUState *cs, int type, vaddr addr, vaddr len); |
| 16 | int gdb_breakpoint_remove(CPUState *cs, int type, vaddr addr, vaddr len); |
Alex Bennée | ae7467b | 2022-09-29 12:42:24 +0100 | [diff] [blame] | 17 | void gdb_breakpoint_remove_all(CPUState *cs); |
| 18 | |
Alex Bennée | 9774855 | 2023-03-02 18:57:37 -0800 | [diff] [blame^] | 19 | #endif /* GDBSTUB_INTERNALS_H */ |