aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-05-18 22:50:18 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-05-18 22:50:18 +0000
commitca0d5e024bf3dbf480927c1a00169843fe608b2c (patch)
tree23ecaab214fa670de91432fd475bcf75356f771b /gcc/unwind-dw2.c
parentf8024378a1f9796ced6f9ffe4ccf3725ca7fc40f (diff)
downloadgcc-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/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c2
1 files changed, 1 insertions, 1 deletions
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);
}