This is the mail archive of the gdb-patches@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: [patch/rfc] mention C++ support in NEWS


On Wed, Mar 17, 2004 at 08:13:31AM +0200, Eli Zaretskii wrote:
> > From: David Carlton <carlton@kealia.com>
> > Date: Tue, 16 Mar 2004 16:29:06 -0800
> > 
> > > IMHO, this text is okay, but perhaps it will sound much more useful if
> > > you add some examples of situations where GDB previously didn't work,
> > > and now does.
> > 
> > That's a good point.  How about:
> > 
> >   GDB's support for nested types and namespaces in C++ has been
> >   improved, especially if you use the DWARF 2 debugging format.  (This
> >   is the default for recent versions of GCC on most platforms.)
> >   Specifically, if you have a class "Inner" defined within a class or
> >   namespace "Outer", then GDB realizes that the class's name is
> >   "Outer::Inner", not simply "Inner".  This should greatly reduce the
> >   frequency of complaints about not finding RTTI symbols.  In
> >   addition, if you are stopped at inside of a function defined within
> >   a namespace, GDB modifies its name lookup accordingly.
> 
> This is okay with me.

And with me also.  Thanks, David!

-- 
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]