wine/dlls/dbghelp
Eric Pouech 812b4b1ca3 dbghelp: Use source file path as stored in debug info format.
Currently, dbghelp returns the source file either:
- in DOS format when native module option isn't enabled
- as stored in debug info format otherwise

This used to work for PE modules inside ELF shared libraries but is broken
since evolution to REAL modules. This generates several issues:
- winedbg does not always set the native module option when calling dbghelp
  for source file related functions, leading to heterogenous output to user
- some dbghelp function rely on matching source paths, hence leading to
  errors in winedbg when mixing the two formats for the same source file.

Introduce a new Wine only dbghelp option to return the source paths as they
are stored inside debug information format, and activate it unconditionaly
inside winedbg.

This fixes some failure cases of command 'break <NN>' in winedbg.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 18:17:44 +02:00
..
tests dbghelp/tests: Use msinfo32.exe instead of notepad.exe. 2023-03-08 18:08:23 +01:00
coff.c
cpu_arm.c
cpu_arm64.c
cpu_i386.c dbghelp: Stop unwinding on potential 64bit frame for i386 cpu. 2023-02-06 22:34:44 +01:00
cpu_x86_64.c
dbghelp.c dbghelp: Use source file path as stored in debug info format. 2023-04-18 18:17:44 +02:00
dbghelp.spec dbghelp: Add partial implementation of SymQueryInlineTrace. 2022-11-18 14:11:50 +01:00
dbghelp_private.h dbghelp: Use source file path as stored in debug info format. 2023-04-18 18:17:44 +02:00
dwarf.c dbghelp: In dwarf debug info, use the same name of anonymous UDT as pdb. 2023-01-24 20:14:52 +01:00
dwarf.h
elf_module.c dbghelp: Fix vdso.so lookup. 2023-03-08 17:49:00 +01:00
image.c
image_private.h
macho_module.c dbghelp: Filter on machine when searching for Wine system PE modules. 2023-02-06 22:34:44 +01:00
Makefile.in
minidump.c dbghelp: Let EnumerateLoadedModules() expose image names. 2023-02-17 18:59:29 +01:00
module.c dbghelp: Don't set ELF loader when wine's loader isn't accessible. 2023-03-08 17:49:00 +01:00
msc.c dbghelp: Fix a typo in a comment. 2023-02-14 09:58:03 +01:00
path.c dbghelp: Filter on machine when searching for Wine system PE modules. 2023-02-06 22:34:44 +01:00
pe_module.c dbghelp: Filter on machine when searching for Wine system PE modules. 2023-02-06 22:34:44 +01:00
source.c
stabs.c dbghelp: Use addr_range for storing symt_function address and size. 2022-11-01 17:53:57 +01:00
stack.c dbghelp: Implement SymAddrIncludeInlineTrace(). 2022-11-18 14:11:50 +01:00
storage.c
symbol.c dbghelp: Use source file path as stored in debug info format. 2023-04-18 18:17:44 +02:00
type.c dbghelp: Get rid of symt_inlinesite by merging it inside symt_function. 2022-11-01 17:53:57 +01:00
version.rc