Commit Graph

18 Commits

Author SHA1 Message Date
Ken Thomases 83c1255f66 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
2015-06-29 19:07:51 +09:00
Frédéric Delanoy 1d65efe50b dbghelp: Use BOOL type where appropriate. 2013-11-12 12:58:03 +01:00
André Hentschel 9d49dd82e8 dbghelp: Remove useless code in ARM stack walk. 2013-01-23 12:44:12 +01:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
André Hentschel 84a036a435 dbghelp: Silence arm_fetch_minidump_module. 2012-03-09 11:34:13 +01:00
André Hentschel 138cb84be0 dbghelp: Add arm_fetch_minidump_thread implementation. 2012-03-09 11:34:02 +01:00
Eric Pouech a672a51cbf dbghelp: Allow each CPU backend to save CPU specific memory ranges in minidump.
Used this feature to add x86_64 unwind information.
2012-01-24 18:10:32 +01:00
Eric Pouech 1c5450f91f dbghelp: Allow CPU backends to add specific information into a minidump.
Use it to add a 256 byte block around current program counter.
2012-01-24 18:10:32 +01:00
André Hentschel c486cec0d6 dbghelp: Use ARMv7 for debugging. 2011-11-02 12:25:39 +01:00
Marcus Meissner b858b53991 dbghelp: Mark internal symbols as hidden. 2011-04-28 18:13:56 +02:00
André Hentschel 7af9179eb9 dbghelp: Implement rudimentary stack walk for ARM. 2011-04-28 11:13:53 +02:00
André Hentschel e0d14005ce dbghelp: Set the right ARM frame pointer. 2011-04-19 13:29:03 +02:00
André Hentschel bdcc47d9e7 dbghelp: Implement arm_fetch_context_reg. 2011-04-18 12:31:30 +02:00
André Hentschel 1bae92b9bb dbghelp: Implement arm_fetch_regname. 2011-04-18 12:31:26 +02:00
André Hentschel 4055b7f2c3 dbghelp: Implement arm_map_dwarf_register. 2011-04-18 12:30:36 +02:00
Eric Pouech 9c09f14270 dbghelp: Extended CPU structure by adding a default register number for frame. 2011-04-12 12:49:53 +02:00
André Hentschel a4c1b34146 dbghelp: Implement arm_get_addr. 2010-10-15 11:32:44 +02:00
André Hentschel 9a1103112e dbghelp: Add ARM support. 2010-09-20 12:58:56 +02:00