Eric Pouech : winedbg: Added support for qAttached query packet.
Alexandre Julliard
julliard at winehq.org
Wed Jan 4 13:53:00 CST 2012
Module: wine
Branch: master
Commit: b4cea6e4026895e9ebebeabf6f57bdcbd64de867
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4cea6e4026895e9ebebeabf6f57bdcbd64de867
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Tue Jan 3 21:37:59 2012 +0100
winedbg: Added support for qAttached query packet.
---
programs/winedbg/gdbproxy.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c
index 1a30947..9205bad 100644
--- a/programs/winedbg/gdbproxy.c
+++ b/programs/winedbg/gdbproxy.c
@@ -1785,6 +1785,16 @@ static enum packet_return packet_query(struct gdb_context* gdbctx)
return packet_done;
}
break;
+ case 'A':
+ if (strncmp(gdbctx->in_packet, "Attached", gdbctx->in_packet_len) == 0)
+ {
+ char buf[2];
+
+ buf[0] = '1';
+ buf[1] = 0;
+ return packet_reply(gdbctx, buf, -1);
+ }
+ break;
case 'C':
if (gdbctx->in_packet_len == 1)
{
More information about the wine-cvs
mailing list