[WINESYNC] dbghelp: Support GNU debug link and build id in PE files.
authorwinesync <ros-dev@reactos.org>
Fri, 11 Sep 2020 15:08:57 +0000 (17:08 +0200)
committerJérôme Gardou <jerome.gardou@reactos.org>
Wed, 16 Sep 2020 08:35:46 +0000 (10:35 +0200)
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 0dd495868846f30d9bb8f15f389d2b1ff6f383cb by Jacek Caban <jacek@codeweavers.com>

dll/win32/dbghelp/pe_module.c
sdk/tools/winesync/dbghelp.cfg

index b50a3cb..0eb97e9 100644 (file)
@@ -753,7 +753,8 @@ BOOL pe_load_debug_info(const struct process* pcs, struct module* module)
 
     if (!(dbghelp_options & SYMOPT_PUBLICS_ONLY))
     {
-        ret = pe_load_stabs(pcs, module);
+        ret = image_check_alternate(&module->format_info[DFI_PE]->u.pe_info->fmap, module);
+        ret = pe_load_stabs(pcs, module) || ret;
         ret = pe_load_dwarf(module) || ret;
         #ifndef DBGHELP_STATIC_LIB
         ret = pe_load_msc_debug_info(pcs, module) || ret;
index 50838ce..6e7eeb0 100644 (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: 4694801e4f58f0e856327d251ac98cfb573fd83b
+  wine: 0dd495868846f30d9bb8f15f389d2b1ff6f383cb