]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make -v messages w.r.t. finding of auxiliary debuginfo files less confusing.
authorJulian Seward <jseward@acm.org>
Mon, 15 Feb 2010 10:05:40 +0000 (10:05 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 15 Feb 2010 10:05:40 +0000 (10:05 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11045

coregrind/m_debuginfo/readelf.c

index e6cb41a31dd2d0c4c7879bebfd346ab188fa448a..b3140cac76abd64d2813547e5df9eb10b81e6c15 100644 (file)
@@ -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);
 }