From da16ade1d04de3aff356f47e626118e1bb45656c Mon Sep 17 00:00:00 2001 From: Paul Bolle Date: Mon, 30 Aug 2010 13:33:53 +0200 Subject: [PATCH] winedbg: gdb proxy mode: hide printf unless traced. --- programs/winedbg/gdbproxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c index 4aad6e112bc..4f12481a0c7 100644 --- a/programs/winedbg/gdbproxy.c +++ b/programs/winedbg/gdbproxy.c @@ -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);