GDB DWARF-1 C++ support

Elena Zannoni ezannoni@redhat.com
Fri Jan 17 20:07:00 GMT 2003


Sorry, I am really busy, and didn't participate in this thread, but
NO! dwarf1 support should be dead.  I am looking at gcc:

% grep DWARF config/*
these are the only references to DWARF1 I can spot, and I bet are really old.


config/elfos.h:/* System V Release 4 uses DWARF debugging info.  */
config/elfos.h:#define DWARF_DEBUGGING_INFO 1
config/ptx4.h:/* Use DWARF debugging info by default.  */
config/ptx4.h:#define PREFERRED_DEBUGGING_TYPE DWARF_DEBUG

Elena



David Carlton writes: > [ I've retitled this bit of the thread and
moved it to gdb@. ]
 > 
 > On Fri, 17 Jan 2003 13:28:08 -0600, Michael Elizabeth Chastain <mec@shout.net> said:
 > 
 > > Here is what I want to do about gdb DWARF-1 C++ support:
 > 
 > >   make a policy decision whether gdb supports DWARF-1 with C++
 > 
 > >   if yes:
 > >     remove all the setup_xfail_format DWARF-1 calls
 > >     add regular DWARF-1 testing
 > >     file about 50 new PR's for all the new FAIL's
 > >     file PR's against gcc for the external bugs (and they will hate us)
 > 
 > >   if no:
 > >     document that gdb supports C++ with DWARF-2 or stabs+ but not DWARF-1
 > >     add a DWARF-1 check to "skip_cplus_tests"
 > >     remove all the setup_xfail_format DWARF-1 calls
 > 
 > Yup.  I'm not familiar with DWARF-1, so conceivably it's possible
 > that we want to support C++ DWARF-1 debugging but that DWARF-1 is by
 > nature incapable of supporting the full range of C++ features, in
 > which case we'd only skip certain C++ tests under DWARF-1.  But I'm
 > really not worried about that possibility for now.
 > 
 > Anyways, my kneejerk reaction is that no, we shouldn't support it: I
 > have a hard time imagining a scenario where it would be a profitable
 > use of resources to work on supporting DWARF-1.  What platforms use it
 > as their native debugging format?  What C++ compilers run on those
 > platforms?
 > 
 > David Carlton
 > carlton@math.stanford.edu



More information about the Gdb mailing list