mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Report the error number when a UME mmap fails.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5911
This commit is contained in:
parent
e7c688d4aa
commit
268a79bdf0
@ -71,8 +71,8 @@ struct elfinfo
|
||||
static void check_mmap(SysRes res, Addr base, SizeT len)
|
||||
{
|
||||
if (res.isError) {
|
||||
VG_(printf)("valgrind: mmap(0x%llx, %lld) failed in UME.\n",
|
||||
(ULong)base, (Long)len);
|
||||
VG_(printf)("valgrind: mmap(0x%llx, %lld) failed in UME with error %d.\n",
|
||||
(ULong)base, (Long)len, res.val);
|
||||
VG_(exit)(1);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user