summaryrefslogtreecommitdiff
path: root/gcc/unwind-sjlj.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-03 02:06:55 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-03 02:06:55 +0000
commitc7beb4b3442a3c637a2584e1bddaa64bb8152be1 (patch)
tree7433063c424c782545dd2cf4acde6bc197bcc1e4 /gcc/unwind-sjlj.c
parent5e06ac43320392f864e58bc25aea0c4f8a0c37b5 (diff)
downloadgcc-c7beb4b3442a3c637a2584e1bddaa64bb8152be1.tar.gz
* libgcc-std.ver (_Unwind_GetCFA): New.
* unwind-dw2.c (_Unwind_GetCFA): New. * unwind-libunwind.c (_Unwind_GetCFA): New. * unwind-sjlj.c (_Unwind_GetCFA): New. * unwind.h: Declare it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65190 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-sjlj.c')
-rw-r--r--gcc/unwind-sjlj.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/unwind-sjlj.c b/gcc/unwind-sjlj.c
index 535804c1166..6d6fd8bc9b5 100644
--- a/gcc/unwind-sjlj.c
+++ b/gcc/unwind-sjlj.c
@@ -170,6 +170,15 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
return context->fc->data[index];
}
+/* Get the value of the CFA as saved in CONTEXT. */
+
+_Unwind_Word
+_Unwind_GetCFA (struct _Unwind_Context *context)
+{
+ /* ??? Ideally __builtin_setjmp places the CFA in the jmpbuf. */
+ return NULL;
+}
+
void
_Unwind_SetGR (struct _Unwind_Context *context, int index, _Unwind_Word val)
{