blob: 7df0e11c470e1f5df2f5faaf61184e0b3b0097a8 [file] [log] [blame]
Alex Bennéeae7467b2022-09-29 12:42:24 +01001/*
2 * gdbstub internals
3 *
4 * Copyright (c) 2022 Linaro Ltd
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
Alex Bennée97748552023-03-02 18:57:37 -08009#ifndef GDBSTUB_INTERNALS_H
10#define GDBSTUB_INTERNALS_H
Alex Bennéeae7467b2022-09-29 12:42:24 +010011
Philippe Mathieu-Daudé55b5b8e2022-12-06 16:20:27 +010012#include "exec/cpu-common.h"
13
Alex Bennéea48e7d92022-09-29 12:42:25 +010014bool gdb_supports_guest_debug(void);
Philippe Mathieu-Daudé55b5b8e2022-12-06 16:20:27 +010015int gdb_breakpoint_insert(CPUState *cs, int type, vaddr addr, vaddr len);
16int gdb_breakpoint_remove(CPUState *cs, int type, vaddr addr, vaddr len);
Alex Bennéeae7467b2022-09-29 12:42:24 +010017void gdb_breakpoint_remove_all(CPUState *cs);
18
Alex Bennée97748552023-03-02 18:57:37 -080019#endif /* GDBSTUB_INTERNALS_H */