mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
gdbstub: specialise stub_can_reverse
Currently we only support replay for softmmu mode so it is a constant false for user-mode. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230302190846.2593720-18-alex.bennee@linaro.org> Message-Id: <20230303025805.625589-18-richard.henderson@linaro.org>
This commit is contained in:
parent
7ea0c33def
commit
505601d580
4 changed files with 13 additions and 11 deletions
|
@ -450,6 +450,11 @@ unsigned int gdb_get_max_cpus(void)
|
|||
return ms->smp.max_cpus;
|
||||
}
|
||||
|
||||
bool gdb_can_reverse(void)
|
||||
{
|
||||
return replay_mode == REPLAY_MODE_PLAY;
|
||||
}
|
||||
|
||||
/*
|
||||
* Softmmu specific command helpers
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue