From ca0d5e024bf3dbf480927c1a00169843fe608b2c Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Fri, 18 May 2007 22:50:18 +0000 Subject: [PATCH] * unwind-dw2.c (uw_identify_context): Use the CFA, not the IP. From-SVN: r124837 --- gcc/ChangeLog | 4 ++++ gcc/unwind-dw2.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6033a60..4fda2e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-05-18 Geoffrey Keating + + * unwind-dw2.c (uw_identify_context): Use the CFA, not the IP. + 2007-05-18 H.J. Lu PR target/31989 diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index a4fad20..8add417 100644 --- a/gcc/unwind-dw2.c +++ b/gcc/unwind-dw2.c @@ -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); } -- 2.7.4