]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
use verbosity 1 to report multiple termination of gdbserver,
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 30 Aug 2015 15:44:07 +0000 (15:44 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 30 Aug 2015 15:44:07 +0000 (15:44 +0000)
this can happen e.g.  in case of irrecoverable execve failure.

This log was making tests fail randomly: the double termination
can only occur if gdbsrv was initialised.
After fork, gdbsrv is initialised by the next scheduler gdbsrv
activity check (by default, every 5000 blocks).

As a double termination has no effect, switch the trace to level 1.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15599

coregrind/m_gdbserver/m_gdbserver.c

index a5e8083b09ac40f183f16e5434088b41fdd18661..d5cc8eae4957b4b600d8cdc74550d85c2018f051 100644 (file)
@@ -790,7 +790,7 @@ void VG_(gdbserver) ( ThreadId tid )
       if (gdbserver_called == 0) {
          dlog(1, "VG_(gdbserver) called to terminate, nothing to terminate\n");
       } else if (gdbserver_exited) {
-         dlog(0, "VG_(gdbserver) called to terminate again %d\n",
+         dlog(1, "VG_(gdbserver) called to terminate again %d\n",
               gdbserver_exited);
       } else {
          gdbserver_terminate();