Ken Thomases : dbghelp: Add support for loading an external DWARF debug info file associated with a Mach-O module.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 29 08:12:10 CDT 2015


Module: wine
Branch: master
Commit: 5c39776327c09cca39581c1ebab3d3f281685caf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5c39776327c09cca39581c1ebab3d3f281685caf

Author: Ken Thomases <ken at codeweavers.com>
Date:   Sun Jun 28 20:45:11 2015 -0500

dbghelp: Add support for loading an external DWARF debug info file associated with a Mach-O module.

Such external debug info files are created by the dsymutil command.  Usually, it
creates a <name>.dSYM bundle directory but it can also produce a <name>.dwarf
flat file.  The code will find and use either.  It first checks if such a bundle
or file is adjacent to the module binary.  If it's not, it uses Spotlight to
search for a .dSYM bundle based on the binary's UUID, which is what gdb and lldb
do, too.  That way, it can find it anywhere on the system.

---

 dlls/dbghelp/Makefile.in     |   2 +-
 dlls/dbghelp/image_private.h |   2 +
 dlls/dbghelp/macho_module.c  | 241 +++++++++++++++++++++++++++++++++++++++----
 3 files changed, 223 insertions(+), 22 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=5c39776327c09cca39581c1ebab3d3f281685caf



More information about the wine-cvs mailing list