This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: GDB DWARF-1 C++ support


On Fri, Jan 17, 2003 at 11:54:59AM -0800, David Carlton wrote:
> [ 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?

I believe no recent version of GCC uses DWARF-1 that does not also
support DWARF-2.  We support oddball C compilers, but not oddball C++
compilers, in general.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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