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:
 > Ranjit Mathew wrote:
 > > Andrew Haley wrote:
 > > 
  > > 
 > > This would also allow dropping "-fno-omit-frame-pointer",
 > > which can make a difference on register starved architectures...
 > > 
 > 
 > 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.

Andrew.


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