[bug report] gcc-2.95.1 on Solaris x86 2.5 [patch for 2.95.2]

Jeffrey A Law law@cygnus.com
Mon Sep 20 04:08:00 GMT 1999


  In message < or7llobrlh.fsf_-_@cupuacu.lsd.ic.unicamp.br >you write:
  > Well, we should probably default to -gstabs, as we do on
  > Solaris/sparc, so that dbx works.  People can always --enable-dwarf2
  > or compile -gdwarf-2 if they wish (unlike --with-stabs, that relied
  > upon sol2dbg.h that was plain broken with GNU as, despite the comment
  > in the beginning of the header file!)
GCC is documented as generating the same debug info as the vendor
supplied compiler and working when the vendor tools whenever possible.

In this case it is simply bugs that are preventing the compiler from working,
so I think we should instead fix the bugs instead of punting and using a
different debugging format.

Furthermore, if we are going to switch debugging formats, I recommend we
switch to dwarf2, not stabs.


jeff




More information about the Gcc-bugs mailing list