From 22f52b58364baeb87e14b4e9ecf02f1ce232f04e Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 15 Feb 2010 10:05:40 +0000 Subject: [PATCH] Make -v messages w.r.t. finding of auxiliary debuginfo files less confusing. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11045 --- coregrind/m_debuginfo/readelf.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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); } -- 2.47.2