From: Julian Seward Date: Mon, 25 Aug 2008 12:10:14 +0000 (+0000) Subject: Fix regression on none/tests/faultstatus caused by r8522. X-Git-Tag: svn/VALGRIND_3_4_0~280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=244a20c3edfabf8d04d637156b1ef12c9a2f6334;p=thirdparty%2Fvalgrind.git Fix regression on none/tests/faultstatus caused by r8522. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8547 --- diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index 9e4688d4ad..ce09314175 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -545,7 +545,7 @@ void VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV ) if (statres.isError) { DebugInfo fake_di; Bool quiet = VG_(strstr)(filename, "/var/run/nscd/") != NULL; - if (!quiet) { + if (!quiet && VG_(clo_verbosity) > 1) { VG_(memset)(&fake_di, 0, sizeof(fake_di)); fake_di.filename = filename; ML_(symerr)(&fake_di, True, "failed to stat64/stat this file");