From e9eab7bbfc1457ec6bf90a92977aa9484bf6c741 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Tue, 22 May 2012 21:52:03 +0200 Subject: [PATCH] winedbg: In the gdb remote protocol implementation, correctly manage the size of registers on the wire (esp. for 64bit ones). --- programs/winedbg/gdbproxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c index 08210e0cf21..58b22028580 100644 --- a/programs/winedbg/gdbproxy.c +++ b/programs/winedbg/gdbproxy.c @@ -1531,6 +1531,7 @@ static enum packet_return packet_read_register(struct gdb_context* gdbctx) if (gdbctx->trace & GDBPXY_TRC_COMMAND) fprintf(stderr, "Read register %x => %08x%08x\n", reg, (unsigned)(cpu_register(pctx, reg) >> 32), (unsigned)cpu_register(pctx, reg)); + packet_reply_open(gdbctx); packet_reply_register_hex_to(gdbctx, reg); packet_reply_close(gdbctx); return packet_done; -- 2.11.4.GIT