[PATCH 00/10] Series short description

Eric Pouech eric.pouech at orange.fr
Sat Oct 9 01:50:44 CDT 2010


The following series implement various fixes to let winedbg (actually dbghelp)
somehow work better on 64bit targets.
Globally, what the patch set does is:
- better job for active ELF modules localisation (needed for relocating ELF
  modules linked with a given address)
- some 64bit fixes (was still truncating adresses at some places)
- codeview & stabs 64bit compatibility fixes
- implementation (for codeview) of register relative symbol

At the end of the day, it should properly manage msvc 64bit compiled targets.
Stabs support on 64bit is still heavily bugged, but I won't spend time trying
to fix it as I don't see a need for this (dwarf & codeview should be sufficient).

Many thanks to Peter Urbanec for providing the test base of 64bit .exe images.

A+

---

Eric Pouech (10):
      [DbgHelp]: allow loading PE module with 64bit addresses
      [DbgHelp]: some more 64bit base address fixes
      [DbgHelp]: added a couple of missing CodeView base types (used in 64bit compilation)
      [DbgHelp]: a couple of fixes for 64bit msvc debug info compatibility
      [DbgHelp]: only map an ELF file once
      [DbgHelp]: when enumerating loaded modules from r_debug structure, pass the address of the dynamic section as well
      [DbgHelp]: now computing ELF load address using the link_map ld's address (and getting correct relocation computation)
      [DbgHelp]: fixing some relocation errors for debug formats out of ELF files
      [DbgHelp]: ensure the stab_nlist structure is usable on 64bit systems
      [DbgHelp]: proper support and definition for S_REGREL_V3


 dlls/dbghelp/dbghelp_private.h |    8 +--
 dlls/dbghelp/elf_module.c      |  123 +++++++++++++++++++++++----------------
 dlls/dbghelp/macho_module.c    |    4 +
 dlls/dbghelp/minidump.c        |    6 +-
 dlls/dbghelp/module.c          |    2 -
 dlls/dbghelp/msc.c             |  127 +++++++++++++++++++++++++---------------
 dlls/dbghelp/pe_module.c       |    2 -
 dlls/dbghelp/stabs.c           |   21 +++----
 include/wine/mscvpdb.h         |   39 +++++++++++-
 tools/winedump/msc.c           |    8 +--
 10 files changed, 212 insertions(+), 128 deletions(-)



More information about the wine-patches mailing list