Module: wine Branch: master Commit: b4cea6e4026895e9ebebeabf6f57bdcbd64de867 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4cea6e4026895e9ebebeabf6f...
Author: Eric Pouech eric.pouech@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) {