backtrace() vs. _Unwind_Backtrace()

David Mosberger davidm@napali.hpl.hp.com
Fri Dec 5 19:07:00 GMT 2003


>>>>> 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?

	--david



More information about the Java mailing list