This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [freenet-tech] Technology / Features
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 28 Feb 2002 18:52:27 -0500 (EST)
- Subject: Re: [freenet-tech] Technology / Features
On 28 Feb 2002, Adam Megacz wrote:
> Interestingly, why does gcj use DWARF2 info to generate stack traces
> on Linux instead of just doing this?
It doesn't. It uses the backtrace function from glibc.
However backtrace doesn't work on a few targets (alpha) where we can't
walk the stack. For those we could possibly use libunwind, which I
haven't closely examined yet. And libunwind is based on DWARF2.
Jeff