Jacek Caban : dbghelp: Search also real path location in path_find_symbol_file.

Alexandre Julliard julliard at winehq.org
Tue Mar 10 16:24:59 CDT 2020


Module: wine
Branch: master
Commit: d731208602393877709d3bb0bdeb28c80f9719b0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d731208602393877709d3bb0bdeb28c80f9719b0

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Mar 10 14:54:42 2020 +0100

dbghelp: Search also real path location in path_find_symbol_file.

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

---

 dlls/dbghelp/path.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dlls/dbghelp/path.c b/dlls/dbghelp/path.c
index f8a7f3d890..014c79c479 100644
--- a/dlls/dbghelp/path.c
+++ b/dlls/dbghelp/path.c
@@ -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)
     {




More information about the wine-cvs mailing list