[PATCH] [WineDbg]: in the gdb remote protocol implementation, correctly manage the size of registers on the wire (esp. for 64bit ones)
Eric Pouech
eric.pouech at orange.fr
Tue May 22 14:52:03 CDT 2012
(resending a line that felt into the cracks of Alexandre's tweakings of the patch)
A+
---
programs/winedbg/gdbproxy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c
index 08210e0..58b2202 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;
More information about the wine-patches
mailing list