Re: [PATCH 03/20] gdbstub: Check for TCG before calling tb_flush()

Alex Bennée
2025-01-24T12:50:31Z

Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> Use the tcg_enabled() check so the compiler can elide
> the call when TCG isn't available, allowing to remove
> the tb_flush() stub.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

--
Alex Bennée
Virtualisation Tech Lead @ Linaro