mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[WINESYNC] Add dbghelp entry
This commit is contained in:
parent
a84b0dbe6b
commit
6cce4bdeba
2 changed files with 37 additions and 0 deletions
6
sdk/tools/winesync/dbghelp.cfg
Normal file
6
sdk/tools/winesync/dbghelp.cfg
Normal file
|
@ -0,0 +1,6 @@
|
|||
directories:
|
||||
dlls/dbghelp: dll/win32/dbghelp
|
||||
files:
|
||||
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
||||
tags:
|
||||
wine: wine-3.9
|
|
@ -0,0 +1,31 @@
|
|||
From f466d59e3eca3c1fd120203d01a746761f301207 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Mon, 6 Oct 2014 05:06:06 +0200
|
||||
Subject: dbghelp: Always check for debug symbols in BINDIR.
|
||||
|
||||
---
|
||||
dll/win32/dbghelp/elf_module.c | 8 +++++---
|
||||
2 files changed, 6 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/dll/win32/dbghelp/elf_module.c b/dll/win32/dbghelp/elf_module.c
|
||||
index 6428955941c..75c0a4c2453 100644
|
||||
--- a/dll/win32/dbghelp/elf_module.c
|
||||
+++ b/dll/win32/dbghelp/elf_module.c
|
||||
@@ -1486,9 +1486,11 @@ static BOOL elf_search_and_load_file(struct process* pcs, const WCHAR* filename,
|
||||
if (!ret && !strchrW(filename, '/'))
|
||||
{
|
||||
ret = elf_load_file_from_path(pcs, filename, load_offset, dyn_addr,
|
||||
- getenv("PATH"), elf_info) ||
|
||||
- elf_load_file_from_path(pcs, filename, load_offset, dyn_addr,
|
||||
- getenv("LD_LIBRARY_PATH"), elf_info);
|
||||
+ getenv("PATH"), elf_info);
|
||||
+ if (!ret) ret = elf_load_file_from_path(pcs, filename, load_offset, dyn_addr,
|
||||
+ getenv("LD_LIBRARY_PATH"), elf_info);
|
||||
+ if (!ret) ret = elf_load_file_from_path(pcs, filename, load_offset, dyn_addr,
|
||||
+ BINDIR, elf_info);
|
||||
if (!ret) ret = elf_load_file_from_dll_path(pcs, filename,
|
||||
load_offset, dyn_addr, elf_info);
|
||||
}
|
||||
--
|
||||
2.11.0
|
||||
|
Loading…
Reference in a new issue