reset: allow registering handlers that aren't called by snapshot loading
[qemu/ar7.git] / gdbstub / internals.h
blobeabb0341d16f43b102e8581e319708bcdd891353
1 /*
2 * gdbstub internals
4 * Copyright (c) 2022 Linaro Ltd
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
9 #ifndef _INTERNALS_H_
10 #define _INTERNALS_H_
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);
17 #endif /* _INTERNALS_H_ */