This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH] Provide stack backtrace interface in libgcc


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]