* unwind-dw2.c (uw_identify_context): Use the CFA, not the IP.

From-SVN: r124837
This commit is contained in:
Geoffrey Keating 2007-05-18 22:50:18 +00:00 committed by Geoffrey Keating
parent f8024378a1
commit ca0d5e024b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-05-18 Geoffrey Keating <geoffk@apple.com>
* unwind-dw2.c (uw_identify_context): Use the CFA, not the IP.
2007-05-18 H.J. Lu <hongjiu.lu@intel.com>
PR target/31989

View File

@ -1526,7 +1526,7 @@ uw_install_context_1 (struct _Unwind_Context *current,
static inline _Unwind_Ptr
uw_identify_context (struct _Unwind_Context *context)
{
return _Unwind_GetIP (context);
return _Unwind_GetCFA (context);
}