diff options
author | Daniel Jacobowitz <dan@codesourcery.com> | 2005-11-16 22:10:39 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@gcc.gnu.org> | 2005-11-16 22:10:39 +0000 |
commit | 60aef23e3893b32703adcfbd49037b72ca6b21f2 (patch) | |
tree | eee487b7c8a5cd39e5ffc9431300e3caa8c8935e /gcc/unwind-dw2.c | |
parent | 0e32bbcc674601f8a59109568a548692bbfa9e24 (diff) | |
download | gcc-60aef23e3893b32703adcfbd49037b72ca6b21f2.zip gcc-60aef23e3893b32703adcfbd49037b72ca6b21f2.tar.gz gcc-60aef23e3893b32703adcfbd49037b72ca6b21f2.tar.bz2 |
unwind-ia64.c (uw_advance_context): New.
* config/ia64/unwind-ia64.c (uw_advance_context): New. Call
uw_update_context.
* unwind-dw2.c (uw_advance_context): Likewise.
* unwind-sjlj.c (uw_advance_context): Likewise. Also call
_Unwind_SjLj_Unregister.
* unwind.inc (_Unwind_ForcedUnwind_Phase2): Call uw_advance_context.
From-SVN: r107103
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r-- | gcc/unwind-dw2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index 5a4375f..4626ec6 100644 --- a/gcc/unwind-dw2.c +++ b/gcc/unwind-dw2.c @@ -1210,6 +1210,12 @@ uw_update_context (struct _Unwind_Context *context, _Unwind_FrameState *fs) context->ra = __builtin_extract_return_addr (_Unwind_GetPtr (context, fs->retaddr_column)); } + +static void +uw_advance_context (struct _Unwind_Context *context, _Unwind_FrameState *fs) +{ + uw_update_context (context, fs); +} /* Fill in CONTEXT for top-of-stack. The only valid registers at this level will be the return address and the CFA. */ |