This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: StackTraceElement support
Mark Wielaard writes:
> Hi,
>
> On Sat, 2002-07-06 at 23:04, Mark Wielaard wrote:
> > The following patch gives us real StackTraceElement support including
> > printing of chained exceptions.
>
> Could somebody take a look at it and let me know what they think? It is
> not that different from how it is currently done but it does give us a
> nice new feature (and exception chaining is not very useful without
> StackTraceElement support). Even if you think the patch sucks please say
> it so that I know where to start to improve it.
Ah yes, I was meaning to get around to doing that. My apologies.
> I know that people are working on using Dwarf2 and/or the Exception
> Handler rewinder to get at the StackTraceElement info. That is probably
> the way to go in the future, but this patch does give us some support
> now. If someone already has some code to do it in a different way I
> don't mind looking at it and trying to integrating it with this patch.
> But I know nothing about Dwarf/EH at the moment so I would need some
> pointers to more information if the current patch is unacceptable.
libunwind is sure the way to do for the future. See
http://sources.redhat.com/ml/libc-hacker/2002-01/msg00034.html
Andrew.