This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: backtrace() vs. _Unwind_Backtrace()


David Mosberger writes:
 > >>>>> On Fri, 5 Dec 2003 18:42:41 +0000, Andrew Haley <aph@redhat.com> said:
 > 
 >   >> I hope this isn't too confusing.  But my point is that if you need to
 >   >> support both backtrace() and _Unwind_Backtrace() anyhow, for ia64
 >   >> linux we should be using backtrace(), if it works correctly (which
 >   >> should be easy to check via autoconf).
 > 
 >   Andrew> How?  I can't think of any easy way to see if a target machine's
 >   Andrew> backtrace() will work.
 > 
 > I probably should have said it's easy to get a good guess if host ==
 > target.  For cross-compilation, there is no easy check, I agree.
 > Perhaps a configure-option?

Until we have working backtrace() or _Unwind_Backtrace() everywhere I
can't think of any alternative.

Andrew.


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