commit | f88e949d16a3ce5f9c4ad1c2ee9b5b0e298b8f59 | [log] [tgz] |
---|---|---|
author | Arun Sharma <aruns@google.com> | Wed Nov 11 21:58:15 2009 -0800 |
committer | Arun Sharma <aruns@google.com> | Wed Nov 11 21:58:15 2009 -0800 |
tree | a066d2d3b285c4c4f286906c4680c2566a79dcd7 | |
parent | d7089547e2d13c2ae5f9ad896dc4bc5dc796fb0b [diff] [blame] |
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.
diff --git a/include/libunwind-x86.h b/include/libunwind-x86.h index 1e321db..84da6e9 100644 --- a/include/libunwind-x86.h +++ b/include/libunwind-x86.h
@@ -147,7 +147,7 @@ UNW_TDEP_LAST_REG = UNW_X86_XMM7, UNW_TDEP_IP = UNW_X86_EIP, - UNW_TDEP_SP = UNW_X86_CFA, + UNW_TDEP_SP = UNW_X86_ESP, UNW_TDEP_EH = UNW_X86_EAX } x86_regnum_t;