|
From: | Alex Bennée |
Subject: | Re: [PATCH] gdbstub: Permit reverse step/break to provide stop response |
Date: | Tue, 27 Jun 2023 11:33:42 +0100 |
User-agent: | mu4e 1.11.7; emacs 29.0.92 |
Nicholas Piggin <npiggin@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-stable@nongnu.org > Cc: Matheus Tavares Bernardino <quic_mathbern@quicinc.com> > Cc: Alex Bennée <alex.bennee@linaro.org> > Cc: Taylor Simpson <tsimpson@quicinc.com> > Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Queued to gdbstub/next, thanks. -- Alex Bennée Virtualisation Tech Lead @ Linaro
[Prev in Thread] | Current Thread | [Next in Thread] |