winedbg: gdbproxy: Quietly handle qSupported and qTStatus.
This commit is contained in:
parent
b2ca3feb3d
commit
f942cb33ab
|
@ -1831,8 +1831,9 @@ static enum packet_return packet_query(struct gdb_context* gdbctx)
|
|||
case 'S':
|
||||
if (strncmp(gdbctx->in_packet, "Symbol::", gdbctx->in_packet_len) == 0)
|
||||
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_close(gdbctx);
|
||||
return packet_done;
|
||||
|
@ -1855,6 +1856,13 @@ static enum packet_return packet_query(struct gdb_context* gdbctx)
|
|||
packet_reply_close(gdbctx);
|
||||
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;
|
||||
}
|
||||
if (gdbctx->trace & GDBPXY_TRC_COMMAND_ERROR)
|
||||
|
|
Loading…
Reference in New Issue