diff options
author | Geoffrey Keating <geoffk@apple.com> | 2007-05-18 22:50:18 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2007-05-18 22:50:18 +0000 |
commit | ca0d5e024bf3dbf480927c1a00169843fe608b2c (patch) | |
tree | 23ecaab214fa670de91432fd475bcf75356f771b /gcc | |
parent | f8024378a1f9796ced6f9ffe4ccf3725ca7fc40f (diff) | |
download | gcc-ca0d5e024bf3dbf480927c1a00169843fe608b2c.zip gcc-ca0d5e024bf3dbf480927c1a00169843fe608b2c.tar.gz gcc-ca0d5e024bf3dbf480927c1a00169843fe608b2c.tar.bz2 |
* unwind-dw2.c (uw_identify_context): Use the CFA, not the IP.
From-SVN: r124837
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/unwind-dw2.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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 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); } |