From 710c080147179af6b2791f84b2be9aa55be40153 Mon Sep 17 00:00:00 2001 From: winesync Date: Fri, 11 Sep 2020 17:08:57 +0200 Subject: [PATCH] [WINESYNC] dbghelp: Support GNU debug link and build id in PE files. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard wine commit id 0dd495868846f30d9bb8f15f389d2b1ff6f383cb by Jacek Caban --- 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