From: Julian Seward Date: Mon, 1 Aug 2005 14:12:17 +0000 (+0000) Subject: Don't show CFI reader warnings without -v. This is intended to hide X-Git-Tag: svn/VALGRIND_3_0_0~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec3da192ee1ccf42adb2f8feb6de23a802411e42;p=thirdparty%2Fvalgrind.git Don't show CFI reader warnings without -v. This is intended to hide Warning: zero-sized CIE/FDE but not at section end in DWARF2 CFI reading which I know is not a good fix, but I don't want to get into messing with the CFI reader this close to 3.0, and the appearance of this message causes many regtests to fail on some systems. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4299 --- diff --git a/coregrind/m_debuginfo/dwarf.c b/coregrind/m_debuginfo/dwarf.c index a58cb5cd0e..fc42b36462 100644 --- a/coregrind/m_debuginfo/dwarf.c +++ b/coregrind/m_debuginfo/dwarf.c @@ -2486,7 +2486,7 @@ void ML_(read_callframe_info_dwarf2) return; bad: - if (!VG_(clo_xml)) + if (!VG_(clo_xml) && VG_(clo_verbosity) > 1) VG_(message)(Vg_UserMsg, "Warning: %s in DWARF2 CFI reading", how); return; }