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: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- To: mark at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Tue, 8 Apr 2003 17:56:58 +0200 (MET DST)
- Subject: Re: [RFC][PATCH] Provide stack backtrace interface in libgcc
Richard Henderson wrote:
> 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.
Mark? I'd argue it would be important to have this out as early
as possible, and 3.3 already introduces additions to the _Unwind
ABI, so it might be a better place than 3.4 ...
Also, for s390, 3.3 is the first release to emit DWARF CFI for
all functions, so it would be really good to be able to use them
for backtraces already with 3.3 as well.
Furthermore, there is virtually no risk that this patch can
break anything else.
What do you say?
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand at informatik dot uni-erlangen dot de