This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC][PATCH] Provide stack backtrace interface in libgcc
- From: Richard Henderson <rth at redhat dot com>
- To: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 7 Apr 2003 18:17:58 -0700
- Subject: Re: [RFC][PATCH] Provide stack backtrace interface in libgcc
- References: <200304071923.VAA03470@faui11.informatik.uni-erlangen.de>
On Mon, Apr 07, 2003 at 09:23:16PM +0200, Ulrich Weigand wrote:
> * unwind.inc (_Unwind_Backtrace): New function.
> * unwind.h (_Unwind_Backtrace): Declare it.
> * libgcc-std.ver (_Unwind_Backtrace): Export it.
I guess this is ok. You'll have to ask Mark about this
for 3.3, since this isn't really a bug fix.
> + /* Use unwind data to perform a stack backtrace. */
> + typedef _Unwind_Reason_Code (*_Unwind_Trace_Fn)
> + (struct _Unwind_Context *, void *);
> +
> + extern _Unwind_Reason_Code _Unwind_Backtrace (_Unwind_Trace_Fn, void *);
Add @@@ here to the comment to indicate this is an extension
to the IA-64 ABI.
r~