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


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