mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
a48e7d9e52
This removes the final hard coding of kvm_enabled() in gdbstub and moves the check to an AccelOps. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Mads Ynddal <mads@ynddal.dk> Message-Id: <20220929114231.583801-46-alex.bennee@linaro.org>
18 lines
421 B
C
18 lines
421 B
C
/*
|
|
* gdbstub internals
|
|
*
|
|
* Copyright (c) 2022 Linaro Ltd
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef _INTERNALS_H_
|
|
#define _INTERNALS_H_
|
|
|
|
bool gdb_supports_guest_debug(void);
|
|
int gdb_breakpoint_insert(CPUState *cs, int type, hwaddr addr, hwaddr len);
|
|
int gdb_breakpoint_remove(CPUState *cs, int type, hwaddr addr, hwaddr len);
|
|
void gdb_breakpoint_remove_all(CPUState *cs);
|
|
|
|
#endif /* _INTERNALS_H_ */
|