summaryrefslogtreecommitdiff
path: root/gcc/unwind-libunwind.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-libunwind.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-libunwind.c')
-rw-r--r--gcc/unwind-libunwind.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/unwind-libunwind.c b/gcc/unwind-libunwind.c
index 8ed05245350..bbbbd3882b1 100644
--- a/gcc/unwind-libunwind.c
+++ b/gcc/unwind-libunwind.c
@@ -105,6 +105,15 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
return ret;
}
+/* Get the value of the CFA as saved in CONTEXT. */
+
+_Unwind_Word
+_Unwind_GetCFA (struct _Unwind_Context *context)
+{
+ /* ??? Is there any way to get this information? */
+ return NULL;
+}
+
/* Overwrite the saved value for register REG in CONTEXT with VAL. */
void