Module: wine Branch: master Commit: da16ade1d04de3aff356f47e626118e1bb45656c URL: http://source.winehq.org/git/wine.git/?a=commit;h=da16ade1d04de3aff356f47e62...
Author: Paul Bolle pebolle@tiscali.nl Date: Mon Aug 30 13:33:53 2010 +0200
winedbg: gdb proxy mode: hide printf unless traced.
---
programs/winedbg/gdbproxy.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c index 4aad6e1..4f12481 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);