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>
This commit is contained in:
Rémi Bernon 2020-03-31 15:12:30 +02:00 committed by Alexandre Julliard
parent 83284dbad4
commit 6deb5895d9

View file

@ -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;
}