aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind-sjlj.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-04-02 18:06:55 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-04-02 18:06:55 -0800
commit378683cf6216f2edcd3bb5bf2f093fa54c6aa524 (patch)
tree7433063c424c782545dd2cf4acde6bc197bcc1e4 /gcc/unwind-sjlj.c
parent63dfa9bb2a6459eebb2f0ab2469d9e6c9307f14e (diff)
downloadgcc-378683cf6216f2edcd3bb5bf2f093fa54c6aa524.zip
gcc-378683cf6216f2edcd3bb5bf2f093fa54c6aa524.tar.gz
gcc-378683cf6216f2edcd3bb5bf2f093fa54c6aa524.tar.bz2
libgcc-std.ver (_Unwind_GetCFA): New.
* 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. From-SVN: r65190
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 535804c..6d6fd8b 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)
{