|
From: <sv...@va...> - 2006-12-27 05:18:35
|
Author: sewardj
Date: 2006-12-27 05:18:33 +0000 (Wed, 27 Dec 2006)
New Revision: 6444
Log:
Print a marginally more helpful error message if UME (ELF loading) fails.
Modified:
trunk/coregrind/m_ume.c
Modified: trunk/coregrind/m_ume.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_ume.c 2006-12-27 04:35:52 UTC (rev 6443)
+++ trunk/coregrind/m_ume.c 2006-12-27 05:18:33 UTC (rev 6444)
@@ -77,6 +77,10 @@
"with error %d (%s).\n",=20
(ULong)base, (Long)len,=20
res.err, VG_(strerror)(res.err) );
+ if (res.err =3D=3D VKI_EINVAL) {
+ VG_(printf)("valgrind: this can be caused by executables with "
+ "very large text, data or bss segments.\n");
+ }
VG_(exit)(1);
}
}
|