Commit e9eab7bb authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: In the gdb remote protocol implementation, correctly manage the size of…

winedbg: In the gdb remote protocol implementation, correctly manage the size of registers on the wire (esp. for 64bit ones).
parent 5e4cb217
...@@ -1531,6 +1531,7 @@ static enum packet_return packet_read_register(struct gdb_context* gdbctx) ...@@ -1531,6 +1531,7 @@ static enum packet_return packet_read_register(struct gdb_context* gdbctx)
if (gdbctx->trace & GDBPXY_TRC_COMMAND) if (gdbctx->trace & GDBPXY_TRC_COMMAND)
fprintf(stderr, "Read register %x => %08x%08x\n", reg, fprintf(stderr, "Read register %x => %08x%08x\n", reg,
(unsigned)(cpu_register(pctx, reg) >> 32), (unsigned)cpu_register(pctx, 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_register_hex_to(gdbctx, reg);
packet_reply_close(gdbctx); packet_reply_close(gdbctx);
return packet_done; return packet_done;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment