* doc/tm.texi (Exception Handling): Mention unwind-dw2-xtensa.c.

From-SVN: r130597
This commit is contained in:
Ben Elliston 2007-12-04 03:14:14 +00:00 committed by Ben Elliston
parent 08ce095862
commit 614e5a7d0d
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2007-12-04 Ben Elliston <bje@au.ibm.com>
* doc/tm.texi (Exception Handling): Mention unwind-dw2-xtensa.c.
2007-12-03 Steven Bosscher <stevenb.gcc@gmail.com>
PR33713

View File

@ -3371,14 +3371,15 @@ code to the call-frame unwinder for use when there is no unwind data
available. The most common reason to implement this macro is to unwind
through signal frames.
This macro is called from @code{uw_frame_state_for} in @file{unwind-dw2.c}
and @file{unwind-ia64.c}. @var{context} is an @code{_Unwind_Context};
This macro is called from @code{uw_frame_state_for} in
@file{unwind-dw2.c}, @file{unwind-dw2-xtensa.c} and
@file{unwind-ia64.c}. @var{context} is an @code{_Unwind_Context};
@var{fs} is an @code{_Unwind_FrameState}. Examine @code{context->ra}
for the address of the code being executed and @code{context->cfa} for
the stack pointer value. If the frame can be decoded, the register save
addresses should be updated in @var{fs} and the macro should evaluate to
@code{_URC_NO_REASON}. If the frame cannot be decoded, the macro should
evaluate to @code{_URC_END_OF_STACK}.
the stack pointer value. If the frame can be decoded, the register
save addresses should be updated in @var{fs} and the macro should
evaluate to @code{_URC_NO_REASON}. If the frame cannot be decoded,
the macro should evaluate to @code{_URC_END_OF_STACK}.
For proper signal handling in Java this macro is accompanied by
@code{MAKE_THROW_FRAME}, defined in @file{libjava/include/*-signal.h} headers.