Ken Thomases : dbghelp: Fix mapping of DWARF register numbers on x86 OS X.

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


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

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

dbghelp: Fix mapping of DWARF register numbers on x86 OS X.

For backward compatibility with old, buggy GCC, Apple uses a different register
numbering scheme for the eh_frame section.

See, for reference, the comments near the top of this file from LLDB's source:
https://github.com/llvm-mirror/lldb/blob/release_36/source/Plugins/Process/Utility/RegisterContext_x86.h

---

 dlls/dbghelp/cpu_arm.c         |  2 +-
 dlls/dbghelp/cpu_arm64.c       |  2 +-
 dlls/dbghelp/cpu_i386.c        | 15 ++++++++++++---
 dlls/dbghelp/cpu_ppc.c         |  2 +-
 dlls/dbghelp/cpu_x86_64.c      |  2 +-
 dlls/dbghelp/dbghelp_private.h |  2 +-
 dlls/dbghelp/dwarf.c           | 34 +++++++++++++++++-----------------
 7 files changed, 34 insertions(+), 25 deletions(-)

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



More information about the wine-cvs mailing list