dbghelp: Expose the real path to the module in SymGetModuleInfo*().
commita89975f731b5cfe822bd7f8d33da0a9481b1c151
authorEric Pouech <eric.pouech@gmail.com>
Thu, 5 Jan 2023 11:58:24 +0000 (5 12:58 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 24 Jan 2023 17:25:58 +0000 (24 18:25 +0100)
tree0f3701d5a628ba743c6afebbca100b26b73cfea5
parent70b8461bef2b12c5ddf868c14a56963c792b71d2
dbghelp: Expose the real path to the module in SymGetModuleInfo*().

Expose the real path of a loaded module (potentially read from
WINEDLLDIR or WINEBUILDDIR or overriden load order or ...).  This
improves gdb integration by passing the real path to the loaded
modules (instead of the paths in c:\windows\ system subdirectories).
Introduce new Wine only dbghelp's extended option to enable the
feature.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54250
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
dlls/dbghelp/dbghelp.c
dlls/dbghelp/dbghelp_private.h
dlls/dbghelp/module.c
include/dbghelp.h
programs/winedbg/gdbproxy.c