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

Richard Henderson
2025-01-26T19:56:15Z

On 1/23/25 15:43, Philippe Mathieu-Daudé wrote:
> 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>
> ---
> accel/stubs/tcg-stub.c | 4 ----
> gdbstub/system.c | 5 ++++-
> 2 files changed, 4 insertions(+), 5 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~