]> git.ipfire.org Git - thirdparty/gcc.git/commit
unwind-dw2.c (SIGNAL_FRAME_BIT, [...]): Define.
authorJakub Jelinek <jakub@redhat.com>
Wed, 3 Jan 2007 23:45:47 +0000 (00:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 3 Jan 2007 23:45:47 +0000 (00:45 +0100)
commitf8e7718c6ff2e04fdfb21ab4cc060259c007044b
treeec76ec68c8e73f9a55d9067135b9d8006d3dbb56
parent798d1cc9ee8d4d9a354609b263bdf021eafc6a9f
unwind-dw2.c (SIGNAL_FRAME_BIT, [...]): Define.

* unwind-dw2.c (SIGNAL_FRAME_BIT, EXTENDED_CONTEXT_BIT): Define.
(struct _Unwind_Context): Rename args_size to flags, remove
signal_frame field, add a new args_size field and version field.
(_Unwind_IsSignalFrame, _Unwind_SetSignalFrame,
_Unwind_IsExtendedContext): New inline functions.
(_Unwind_GetGR, _Unwind_SetGR, _Unwind_GetGRPtr, _Unwind_SetGRPtr):
Assume by_value array is only present if _Unwind_IsExtendedContext.
(_Unwind_GetIPInfo, execute_cfa_program, uw_frame_state_for): Use
_Unwind_IsSignalFrame.
(__frame_state_for): Initialize context.flags to EXTENDED_CONTEXT_BIT.
(uw_update_context_1): Use _Unwind_SetSignalFrame.
(uw_init_context_1): Initialize context->flags to
EXTENDED_CONTEXT_BIT.
* config/rs6000/linux-unwind.h (frob_update_context): Use
_Unwind_SetSignalFrame.

From-SVN: r120406
gcc/ChangeLog
gcc/config/rs6000/linux-unwind.h
gcc/unwind-dw2.c