]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Guard new debug print statement in r11045 correctly (at all!)
authorJulian Seward <jseward@acm.org>
Mon, 15 Feb 2010 12:00:28 +0000 (12:00 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 15 Feb 2010 12:00:28 +0000 (12:00 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11047

coregrind/m_debuginfo/readelf.c

index b3140cac76abd64d2813547e5df9eb10b81e6c15..e8ef2bc8fa38a5b8cbe1193fec0ab8deb3d60e03 100644 (file)
@@ -964,8 +964,8 @@ Addr open_debug_file( Char* name, UInt crc, /*OUT*/UWord* size )
       return 0;
    }
 
-   VG_(message)(Vg_DebugMsg,
-                "  .. CRC is valid\n");
+   if (VG_(clo_verbosity) > 1)
+      VG_(message)(Vg_DebugMsg, "  .. CRC is valid\n");
    
    return sr_Res(sres);
 }