winedbg: gdb proxy mode: hide printf unless traced.

This commit is contained in:
Paul Bolle 2010-08-30 13:33:53 +02:00 committed by Alexandre Julliard
parent 2855fac645
commit da16ade1d0
1 changed files with 2 additions and 1 deletions

View File

@ -1077,7 +1077,8 @@ static enum packet_return packet_verbose(struct gdb_context* gdbctx)
* and then an optional thread ID at the end..
* *******************************************/
fprintf(stderr, "trying to process a verbose packet\n");
if (gdbctx->trace & GDBPXY_TRC_COMMAND)
fprintf(stderr, "trying to process a verbose packet\n");
/* now check that we've got Cont */
assert(strncmp(gdbctx->in_packet, "Cont", 4) == 0);