Commit f942cb33 authored by Paul Bolle's avatar Paul Bolle Committed by Alexandre Julliard

winedbg: gdbproxy: Quietly handle qSupported and qTStatus.

parent b2ca3feb
...@@ -1831,8 +1831,9 @@ static enum packet_return packet_query(struct gdb_context* gdbctx) ...@@ -1831,8 +1831,9 @@ static enum packet_return packet_query(struct gdb_context* gdbctx)
case 'S': case 'S':
if (strncmp(gdbctx->in_packet, "Symbol::", gdbctx->in_packet_len) == 0) if (strncmp(gdbctx->in_packet, "Symbol::", gdbctx->in_packet_len) == 0)
return packet_ok; return packet_ok;
if (strncmp(gdbctx->in_packet, "Supported", gdbctx->in_packet_len) == 0) if (strncmp(gdbctx->in_packet, "Supported", 9) == 0)
{ {
/* no features supported */
packet_reply_open(gdbctx); packet_reply_open(gdbctx);
packet_reply_close(gdbctx); packet_reply_close(gdbctx);
return packet_done; return packet_done;
...@@ -1855,6 +1856,13 @@ static enum packet_return packet_query(struct gdb_context* gdbctx) ...@@ -1855,6 +1856,13 @@ static enum packet_return packet_query(struct gdb_context* gdbctx)
packet_reply_close(gdbctx); packet_reply_close(gdbctx);
return packet_done; return packet_done;
} }
if (strncmp(gdbctx->in_packet, "TStatus", 7) == 0)
{
/* Tracepoints not supported */
packet_reply_open(gdbctx);
packet_reply_close(gdbctx);
return packet_done;
}
break; break;
} }
if (gdbctx->trace & GDBPXY_TRC_COMMAND_ERROR) if (gdbctx->trace & GDBPXY_TRC_COMMAND_ERROR)
......
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