Nicholas Piggin <npig...@gmail.com> writes:

> The final part of the reverse step and break handling is to bring
> the machine back to a debug stop state. gdb expects a response.
>
> A gdb 'rsi' command hangs forever because the gdbstub filters out
> the response (also observable with reverse_debugging.py avocado
> tests).
>
> Fix by setting allow_stop_reply for the gdb backward packets.
>
> Fixes: 758370052fb ("gdbstub: only send stop-reply packets when allowed to")
> Cc: qemu-sta...@nongnu.org
> Cc: Matheus Tavares Bernardino <quic_mathb...@quicinc.com>
> Cc: Alex Bennée <alex.ben...@linaro.org>
> Cc: Taylor Simpson <tsimp...@quicinc.com>
> Signed-off-by: Nicholas Piggin <npig...@gmail.com>

Queued to gdbstub/next, thanks.

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to