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: RFC: stack trace generation


David Daney writes:
 > Andrew Haley wrote:
 > > David Daney writes:
 > >  > Arn't there two issues?
 > >  > 
 > >  > 1) Generate the raw stack trace.
 > >  > 
 > >  > 2) Make a pretty printout.
 > >  > 
 > >  > These patches deal with #2.
 > >  > 
 > >  > #1 is easily done where ever DWARF 2 unwinding is available (shameless
 > >  > plug: libjava/sysdep/dwarf2-backtrace.cc).
 > > 
 > > #1 is no longer a problem because we have functions in libgcc to do
 > > it, and these functions work with any unwinder format, not just DWARF
 > > 2.
 > > 
 > 
 > Yes.  The dwarf2-backtrace.cc is probably mis-named as it uses the
 > functions that I believe you are referring to.
 > 
 > Being a very lazy person, I am only expending GCJ effort on the
 > platforms that I am currently paid to support (mipsel-linux*).  But
 > I have to wonder if it would not be a win to use
 > dwarf2-backtrace.cc with the i386-linux-gnu target and enable
 > -fomit-frame-pointer.

It might.  I think that's what Bryce intended to do.

Andrew.


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