Eric Pouech : winedbg: In the gdb remote protocol implementation, correctly manage the size of registers on the wire (esp. for 64bit ones).

Alexandre Julliard julliard at winehq.org
Wed May 23 13:22:54 CDT 2012


Module: wine
Branch: master
Commit: e9eab7bbfc1457ec6bf90a92977aa9484bf6c741
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e9eab7bbfc1457ec6bf90a92977aa9484bf6c741

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Tue May 22 21:52:03 2012 +0200

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 files changed, 1 insertions(+), 0 deletions(-)

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-cvs mailing list