[WINESYNC] dbghelp: Search also real path location in path_find_symbol_file.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id d731208602393877709d3bb0bdeb28c80f9719b0 by Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
winesync 2020-09-11 16:57:23 +02:00 committed by Jérôme Gardou
parent 95f6a74d85
commit c82f34344e
2 changed files with 6 additions and 1 deletions

View File

@ -664,6 +664,11 @@ BOOL path_find_symbol_file(const struct process* pcs, const struct module* modul
/* 2. check module-path */
file_pathW(module->module.LoadedImageName, buffer);
if (do_searchW(filename, buffer, FALSE, module_find_cb, &mf)) return TRUE;
if (module->real_path)
{
file_pathW(module->real_path, buffer);
if (do_searchW(filename, buffer, FALSE, module_find_cb, &mf)) return TRUE;
}
while (searchPath)
{

View File

@ -4,4 +4,4 @@ files:
include/dbghelp.h: sdk/include/psdk/dbghelp.h
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
tags:
wine: e21b61392cbc3a4879f837316c869c44b8dcf685
wine: d731208602393877709d3bb0bdeb28c80f9719b0