* unwind-dw2.c (uw_identify_context): Use the CFA, not the IP.
authorGeoffrey Keating <geoffk@apple.com>
Fri, 18 May 2007 22:50:18 +0000 (22:50 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 18 May 2007 22:50:18 +0000 (22:50 +0000)
From-SVN: r124837

gcc/ChangeLog
gcc/unwind-dw2.c

index 6033a60..4fda2e6 100644 (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
index a4fad20..8add417 100644 (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);
 }