[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 RESEND 2/7] gdbstub: add test for untimely stop-reply pack
From: |
Alex Bennée |
Subject: |
Re: [PATCH v2 RESEND 2/7] gdbstub: add test for untimely stop-reply packets |
Date: |
Thu, 20 Apr 2023 14:44:11 +0100 |
User-agent: |
mu4e 1.11.2; emacs 29.0.90 |
Matheus Tavares Bernardino <quic_mathbern@quicinc.com> writes:
> In the previous commit, we modified gdbstub.c to only send stop-reply
> packets as a response to GDB commands that accept it. Now, let's add a
> test for this intended behavior. Running this test before the fix from
> the previous commit fails as QEMU sends a stop-reply packet
> asynchronously, when GDB was in fact waiting an ACK.
>
> Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Excellent work adding some more gdb testing ;-)
Acked-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro