xref: /qemu/gdbstub/internals.h (revision 5ac034b1)
1 /*
2  * gdbstub internals
3  *
4  * Copyright (c) 2022 Linaro Ltd
5  *
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8 
9 #ifndef _INTERNALS_H_
10 #define _INTERNALS_H_
11 
12 #include "exec/cpu-common.h"
13 
14 bool gdb_supports_guest_debug(void);
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);
17 void gdb_breakpoint_remove_all(CPUState *cs);
18 
19 #endif /* _INTERNALS_H_ */
20