xref: /openbmc/qemu/gdbstub/internals.h (revision 93e0932b)
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 bool gdb_supports_guest_debug(void);
13 int gdb_breakpoint_insert(CPUState *cs, int type, hwaddr addr, hwaddr len);
14 int gdb_breakpoint_remove(CPUState *cs, int type, hwaddr addr, hwaddr len);
15 void gdb_breakpoint_remove_all(CPUState *cs);
16 
17 #endif /* _INTERNALS_H_ */
18