1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-16 13:18:12 +01:00

Set UNW_TDEP_SP on x86 to ESP

This is similar to what has been done on other archs and resolves an out of
bounds array access elsewhere.
This commit is contained in:
Arun Sharma 2009-11-11 21:58:15 -08:00
parent d7089547e2
commit f88e949d16

View file

@ -147,7 +147,7 @@ typedef enum
UNW_TDEP_LAST_REG = UNW_X86_XMM7, UNW_TDEP_LAST_REG = UNW_X86_XMM7,
UNW_TDEP_IP = UNW_X86_EIP, UNW_TDEP_IP = UNW_X86_EIP,
UNW_TDEP_SP = UNW_X86_CFA, UNW_TDEP_SP = UNW_X86_ESP,
UNW_TDEP_EH = UNW_X86_EAX UNW_TDEP_EH = UNW_X86_EAX
} }
x86_regnum_t; x86_regnum_t;