[PATCH 0/5] VDSO support in dbghelp
Eric Pouech
eric.pouech at orange.fr
Mon Dec 27 08:03:03 CST 2010
s patch-set loads the VDSO page (when present) as an ELF object and reports the symbol it contains.
With this patch-set now gives (output abbreviated with ...):
Ctrl-C: stopping debuggee
0xf777b42e __kernel_vsyscall+0xe in [vdso].so: jmp 0xf777b423 __kernel_vsyscall+0x3 in [vdso].so
Wine-dbg>bt
Backtrace:
=>0 0xf777b42e __kernel_vsyscall+0xe() in [vdso].so (0x0033f838)
1 0x7bc78b33 NTDLL_wait_for_multiple_objects+0x252(...
2 0x7bc78b33 NTDLL_wait_for_multiple_objects+0x252(...
3 0x7bc78e29 NtWaitForMultipleObjects+0x68(...
...
Wine-dbg>info share
Module Address Debug info Name (49 modules)
ELF 7b800000-7b982000 Dwarf kernel32<elf>
\-PE 7b810000-7b982000 \ kernel32
ELF 7bc00000-7bcba000 Dwarf ntdll<elf>
\-PE 7bc10000-7bcba000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
...
ELF f75a0000-f76e0000 Dwarf libwine.so.1
ELF f76e2000-f7700000 Deferred ld-linux.so.2
ELF f7700000-f7701000 Export [vdso].so
A+
---
Eric Pouech (5):
[DbgHelp]: factorize a bit the ELF enumeration callbacks
[DbgHelp]: split elf_load_file into two functions (one for creating a file-map, another one for loading info out of a file-map)
[DbgHelp]: use pread instead of read in elf_map_file
[DbgHelp]: extend elf_map_file so that it can also handle ELF maps directly from debuggee address space
[DbgHelp]: for targets on Linux, report the VDSO system page as a known ELF module
dlls/dbghelp/elf_module.c | 437 ++++++++++++++++++++++++++++++------------
dlls/dbghelp/image_private.h | 3
2 files changed, 310 insertions(+), 130 deletions(-)
--
Eric Pouech
More information about the wine-patches
mailing list