Module: wine Branch: master Commit: 6deb5895d942adef0b19a8e2d083976f8f55da13 URL: https://source.winehq.org/git/wine.git/?a=commit;h=6deb5895d942adef0b19a8e2d...
Author: Rémi Bernon rbernon@codeweavers.com Date: Tue Mar 31 15:12:30 2020 +0200
winedbg: Explicitly handle MustReplyEmpty packet.
We now always print a warning when packet_error is returned.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/winedbg/gdbproxy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c index 5e9e274beb..a9f9210f52 100644 --- a/programs/winedbg/gdbproxy.c +++ b/programs/winedbg/gdbproxy.c @@ -1070,8 +1070,9 @@ static enum packet_return packet_verbose(struct gdb_context* gdbctx) return packet_verbose_cont(gdbctx); }
- WARN("Unhandled verbose packet %s\n", - debugstr_an(gdbctx->in_packet, gdbctx->in_packet_len)); + if (gdbctx->in_packet_len == 14 && !memcmp(gdbctx->in_packet, "MustReplyEmpty", 14)) + return packet_reply(gdbctx, ""); + return packet_error; }