[PATCH] map_image tells valgrind to load symbolic debugging info

John Reiser jreiser at BitWagon.com
Thu Jul 24 12:21:33 CDT 2008

ntdll: If valgrind is running then map_image() tells valgrind to load
the .pdb debugging info for the module that was just loaded.  valgrind
is tuned to recognize ld-linux.so loading ELF modules by watching mmap
and mprotect.  map_image loads .exe and .dll via a different method
that tends to disguise what is happening, and confuse module loading
with ordinary file inspection.

 dlls/ntdll/virtual.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 98e69e65da2c16e9fe3272291d6e57d66eaec280.diff
Type: text/x-patch
Size: 1431 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080724/c9c21800/attachment-0001.bin 

More information about the wine-patches mailing list