]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Printing slightly more informative message when mmap fails.
authorNicholas Nethercote <n.nethercote@gmail.com>
Sun, 27 Jun 2004 12:30:15 +0000 (12:30 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Sun, 27 Jun 2004 12:30:15 +0000 (12:30 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2442

coregrind/vg_symtab2.c

index d62872e202c4d72c9c32de72610f930db56f7bdf..6dcf26b463f85dc1f8a738d06e4f5c7a9ebf1b5c 100644 (file)
@@ -1188,7 +1188,9 @@ Bool vg_read_lib_symbols ( SegInfo* si )
 
    if (oimage == ((Addr)(-1))) {
       VG_(message)(Vg_UserMsg,
-                   "mmap failed on %s", si->filename );
+                   "warning: mmap failed on %s", si->filename );
+      VG_(message)(Vg_UserMsg,
+                   "         no symbols or debug info loaded" );
       return False;
    }