This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Stack traces, etc.
Adam Megacz writes:
>
> Wow, this must have been a lot of work...
>
> Andrew Haley <aph@redhat.com> writes:
> > A new libgcc function, _Unwind_FindEnclosingFunction, uses the DWARF
> > unwinder machinery to convert a PC address to the starting address
> > of a function.
>
> How about non-DWARF platforms? Is there an easy place to stick in
> platform-specific hacks for, say, Win32 (which has no DWARF2)?
Sure, but I don't know how to find a function without DWARF unwinder
data or something equivalent. I welcome suggestions.
It may be quicker to bite the bullet and convert Win32 to DWARF.
Andrew.