From: Julian Seward Date: Mon, 15 Feb 2010 10:05:40 +0000 (+0000) Subject: Make -v messages w.r.t. finding of auxiliary debuginfo files less confusing. X-Git-Tag: svn/VALGRIND_3_6_0~379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f52b58364baeb87e14b4e9ecf02f1ce232f04e;p=thirdparty%2Fvalgrind.git Make -v messages w.r.t. finding of auxiliary debuginfo files less confusing. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11045 --- diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c index e6cb41a31d..b3140cac76 100644 --- a/coregrind/m_debuginfo/readelf.c +++ b/coregrind/m_debuginfo/readelf.c @@ -942,7 +942,7 @@ Addr open_debug_file( Char* name, UInt crc, /*OUT*/UWord* size ) } if (VG_(clo_verbosity) > 1) - VG_(message)(Vg_DebugMsg, "Reading debug info from %s ..\n", name); + VG_(message)(Vg_DebugMsg, " Considering %s ..\n", name); *size = stat_buf.size; @@ -960,9 +960,12 @@ Addr open_debug_file( Char* name, UInt crc, /*OUT*/UWord* size ) vg_assert(!sr_isError(res)); if (VG_(clo_verbosity) > 1) VG_(message)(Vg_DebugMsg, - ".. CRC mismatch (computed %08x wanted %08x)\n", calccrc, crc); + " .. CRC mismatch (computed %08x wanted %08x)\n", calccrc, crc); return 0; } + + VG_(message)(Vg_DebugMsg, + " .. CRC is valid\n"); return sr_Res(sres); }