https://git.reactos.org/?p=reactos.git;a=commitdiff;h=710c080147179af6b2791…
commit 710c080147179af6b2791f84b2be9aa55be40153
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Fri Sep 11 17:08:57 2020 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed Sep 16 10:35:46 2020 +0200
[WINESYNC] dbghelp: Support GNU debug link and build id in PE files.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 0dd495868846f30d9bb8f15f389d2b1ff6f383cb by Jacek Caban
<jacek(a)codeweavers.com>
---
dll/win32/dbghelp/pe_module.c | 3 ++-
sdk/tools/winesync/dbghelp.cfg | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dll/win32/dbghelp/pe_module.c b/dll/win32/dbghelp/pe_module.c
index b50a3cb8e35..0eb97e9e0c7 100644
--- a/dll/win32/dbghelp/pe_module.c
+++ b/dll/win32/dbghelp/pe_module.c
@@ -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;
diff --git a/sdk/tools/winesync/dbghelp.cfg b/sdk/tools/winesync/dbghelp.cfg
index 50838ce5e31..6e7eeb08789 100644
--- a/sdk/tools/winesync/dbghelp.cfg
+++ b/sdk/tools/winesync/dbghelp.cfg
@@ -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