This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: MIPS support for libjava (version 2).
David Daney writes:
>
> Didn't someone once suggest that the exception unwinder code should be
> hijacked and used to generate stack traces?
I did. I tried it, and it does work.
However, the unwinder in gcc is really only intended to be used for
exceptions. There is libunwind, which has a general interface for
unwinding, but it hasn't much been ported. One day if I ever have a
little time I'd like to work on it. We will eventually use libunwind
for backtrace support in libgcj.
http://www.hpl.hp.com/research/linux/libunwind/
Andrew.