Stack traces, etc.

Andrew Haley aph@redhat.com
Sat Nov 30 01:46:00 GMT 2002


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.



More information about the Java mailing list