https://bugs.winehq.org/show_bug.cgi?id=54250
--- Comment #10 from Eric Pouech eric.pouech@gmail.com --- hi
your addition looks correct since Wine's currently is in code freeze (only bug fixes allowed), I'm a bit worried by the changes: at least the one I proposed <g>. As it changes the code path for every PE loaded, it may uncover some other bugs. (Like not updating LoadedImageName accordingly).
Even if its the right thing to do (using the hFile from the load DLL debug event, hence passed by the system), I'm a bit reluctant to create a merge request from it.
Question: I wonder if your change alone (without passing hFile) produces the same right effects (at least on gdb-proxy mode)?
A+