On 5/1/23 17:43, Alex Bennée wrote:
We unfortunately handle the checking of packet acknowledgement
differently for user and softmmu modes. Abstract the user mode stuff
behind gdb_got_immediate_ack with a stub for softmmu.
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
---
gdbstub/internals.h | 15 +++++++++++++++
gdbstub/gdbstub.c | 10 ++--------
gdbstub/softmmu.c | 8 ++++++++
gdbstub/user.c | 19 +++++++++++++++++++
4 files changed, 44 insertions(+), 8 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>