[PATCH] [WineDbg]: added support for qAttached query packet
Eric Pouech
eric.pouech at orange.fr
Tue Jan 3 14:37:59 CST 2012
A+
---
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-patches
mailing list