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: [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


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