This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, doc]: update exception handling docs
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, jsm at polyomino dot org dot uk
- Date: Fri, 30 Nov 2007 21:55:01 +0100 (CET)
- Subject: Re: [PATCH, doc]: update exception handling docs
- References: <1196220406.5802.2.camel@localhost>
On Wed, 28 Nov 2007, Ben Elliston wrote:
> OK for mainline? I will fill this paragraph in emacs before committing
> it, but decided against it when preparing this message to make the diff
> easier to read.
That does look innocent enough not to require approval. That said, I did
some naive grepping and also ran across pa/hpux-unwind.h but did not see
uw_frame_state_for used in unwind-dw2.c.
Likely I'm completely off-base here, and in that case please do ignore me.
;-)
Gerald
> Index: doc/tm.texi
> ===================================================================
> --- doc/tm.texi (revision 130489)
> +++ doc/tm.texi (working copy)
> @@ -3371,8 +3371,8 @@ code to the call-frame unwinder for use
> 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