winedbg: Added support for qAttached query packet.

This commit is contained in:
Eric Pouech 2012-01-03 21:37:59 +01:00 committed by Alexandre Julliard
parent 1ecef8242d
commit b4cea6e402
1 changed files with 10 additions and 0 deletions

View File

@ -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)
{