mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
accel: Hold @can_reverse information in AccelGdbConfig
Hold @can_reverse in AccelGdbConfig, set it when initializing AccelState in AccelClass::init_machine handlers (only TCG sets it). Remove gdb_can_reverse() as now unused. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Message-ID: <20260705215729.62196-17-philmd@oss.qualcomm.com>
This commit is contained in:
@@ -77,9 +77,11 @@ void accel_cpu_common_unrealize(CPUState *cpu);
|
||||
* struct AccelGdbConfig - gdbstub configuration for an accelerator.
|
||||
*
|
||||
* @sstep_flags: Set SSTEP_* flags that accelerator supports for guest debug.
|
||||
* @can_reverse: Whether reverse mode is supported.
|
||||
*/
|
||||
typedef struct AccelGdbConfig {
|
||||
unsigned sstep_flags;
|
||||
bool can_reverse;
|
||||
} AccelGdbConfig;
|
||||
|
||||
#endif /* QEMU_ACCEL_H */
|
||||
|
||||
Reference in New Issue
Block a user