Paul Bolle : winedbg: gdb proxy mode: hide printf unless traced.

Alexandre Julliard julliard at winehq.org
Mon Aug 30 13:00:45 CDT 2010


Module: wine
Branch: master
Commit: da16ade1d04de3aff356f47e626118e1bb45656c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=da16ade1d04de3aff356f47e626118e1bb45656c

Author: Paul Bolle <pebolle at 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);
 




More information about the wine-cvs mailing list