summaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-18 22:50:18 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-18 22:50:18 +0000
commitc3dd0e8588136d0b1ce121dcebf82701189af760 (patch)
tree23ecaab214fa670de91432fd475bcf75356f771b /gcc/unwind-dw2.c
parentd7bb133fa9523c6f4603e9cd1ecfb25ee32da246 (diff)
downloadgcc-c3dd0e8588136d0b1ce121dcebf82701189af760.tar.gz
* unwind-dw2.c (uw_identify_context): Use the CFA, not the IP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124837 138bc75d-0d04-0410-961f-82ee72b054a4
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 a4fad20f4cd..8add4175a8e 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);
}