|
From: Nicholas N. <nj...@ca...> - 2004-06-27 12:30:20
|
CVS commit by nethercote:
Printing slightly more informative message when mmap fails.
M +3 -1 vg_symtab2.c 1.80
--- valgrind/coregrind/vg_symtab2.c #1.79:1.80
@@ -1189,5 +1189,7 @@ 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;
}
|