Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: [patch/rfc] mention C++ support in NEWS
@ 2004-03-17  1:29 Michael Elizabeth Chastain
  2004-03-19  0:09 ` Michael Elizabeth Chastain
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Elizabeth Chastain @ 2004-03-17  1:29 UTC (permalink / raw)
  To: carlton, eliz; +Cc: drow, gdb-patches

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.

My two cents: looks okay to me.

Michael C


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-03-17  1:29 [patch/rfc] mention C++ support in NEWS Michael Elizabeth Chastain
@ 2004-03-19  0:09 ` Michael Elizabeth Chastain
  0 siblings, 0 replies; 13+ messages in thread
From: Michael Elizabeth Chastain @ 2004-03-19  0:09 UTC (permalink / raw)
  To: carlton, eliz; +Cc: drow, gdb-patches

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.

My two cents: looks okay to me.

Michael C


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-03-19  0:09   ` David Carlton
  2004-03-17  0:29     ` David Carlton
@ 2004-03-19  0:09     ` Eli Zaretskii
  2004-03-17  6:11       ` Eli Zaretskii
  2004-03-17 17:32       ` Daniel Jacobowitz
  1 sibling, 2 replies; 13+ messages in thread
From: Eli Zaretskii @ 2004-03-19  0:09 UTC (permalink / raw)
  To: David Carlton; +Cc: gdb-patches, drow

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

> I'm still not entirely thrilled with it, especially that last
> sentence; I don't want to go into _too_ many details, but I'm not sure
> I've found the right balance.

I think your text strikes the right balance, one that is appropriate
to NEWS.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-03-17 17:32       ` Daniel Jacobowitz
@ 2004-03-19  0:09         ` David Carlton
  2004-03-17 17:39           ` David Carlton
  2004-03-19  0:09         ` Daniel Jacobowitz
  1 sibling, 1 reply; 13+ messages in thread
From: David Carlton @ 2004-03-19  0:09 UTC (permalink / raw)
  To: gdb-patches

On Wed, 17 Mar 2004 12:32:30 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> On Wed, Mar 17, 2004 at 08:13:31AM +0200, Eli Zaretskii wrote:

>> This is okay with me.

> And with me also.  Thanks, David!

Thanks everybody for the feedback; committed to mainline and 6.1.

David Carlton
carlton@kealia.com

2004-03-17  David Carlton  <carlton@kealia.com>

	* NEWS: Mention C++ nested types and namespaces

Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.139
diff -u -p -r1.139 NEWS
--- NEWS	13 Mar 2004 13:11:53 -0000	1.139
+++ NEWS	17 Mar 2004 17:34:24 -0000
@@ -38,6 +38,18 @@ GDB support for location expressions has
 arguments and frame bases.  Older versions of GDB could crash when they
 encountered these.
 
+* C++ nested types and namespaces
+
+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.
+
 * New native configurations
 
 NetBSD/amd64					x86_64-*-netbsd*


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-03-17 17:32       ` Daniel Jacobowitz
  2004-03-19  0:09         ` David Carlton
@ 2004-03-19  0:09         ` Daniel Jacobowitz
  1 sibling, 0 replies; 13+ messages in thread
From: Daniel Jacobowitz @ 2004-03-19  0:09 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-02-11 19:31 ` Eli Zaretskii
  2004-02-16 19:44   ` Daniel Jacobowitz
@ 2004-03-19  0:09   ` David Carlton
  2004-03-17  0:29     ` David Carlton
  2004-03-19  0:09     ` Eli Zaretskii
  1 sibling, 2 replies; 13+ messages in thread
From: David Carlton @ 2004-03-19  0:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches, drow

On Wed, 11 Feb 2004 21:31:44 +0200, "Eli Zaretskii" <eliz@elta.co.il> said:
>> From: David Carlton <carlton@kealia.com>
>> Date: Wed, 11 Feb 2004 10:15:27 -0800

>> +* C++ nested types and namespaces
>> +
>> +GDB's support for nested types and namespaces in C++ has been
>> +improved.  We recommend that you use the DWARF 2 debugging format to
>> +get the full benefit from this; this is the default for recent
>> +versions of GCC on most platforms.
>> +

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

I'm still not entirely thrilled with it, especially that last
sentence; I don't want to go into _too_ many details, but I'm not sure
I've found the right balance.

I'm also trying to think of what else has changed - the patches have
been long enough that I would think I'd be able to point to more
features, but I guess it really is the case that fixing names of types
and teaching GDB about namespaces simply required a lot of
infrastructure changes...

David Carlton
carlton@kealia.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-03-19  0:09         ` David Carlton
@ 2004-03-17 17:39           ` David Carlton
  0 siblings, 0 replies; 13+ messages in thread
From: David Carlton @ 2004-03-17 17:39 UTC (permalink / raw)
  To: gdb-patches

On Wed, 17 Mar 2004 12:32:30 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> On Wed, Mar 17, 2004 at 08:13:31AM +0200, Eli Zaretskii wrote:

>> This is okay with me.

> And with me also.  Thanks, David!

Thanks everybody for the feedback; committed to mainline and 6.1.

David Carlton
carlton@kealia.com

2004-03-17  David Carlton  <carlton@kealia.com>

	* NEWS: Mention C++ nested types and namespaces

Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.139
diff -u -p -r1.139 NEWS
--- NEWS	13 Mar 2004 13:11:53 -0000	1.139
+++ NEWS	17 Mar 2004 17:34:24 -0000
@@ -38,6 +38,18 @@ GDB support for location expressions has
 arguments and frame bases.  Older versions of GDB could crash when they
 encountered these.
 
+* C++ nested types and namespaces
+
+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.
+
 * New native configurations
 
 NetBSD/amd64					x86_64-*-netbsd*


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-03-19  0:09     ` Eli Zaretskii
  2004-03-17  6:11       ` Eli Zaretskii
@ 2004-03-17 17:32       ` Daniel Jacobowitz
  2004-03-19  0:09         ` David Carlton
  2004-03-19  0:09         ` Daniel Jacobowitz
  1 sibling, 2 replies; 13+ messages in thread
From: Daniel Jacobowitz @ 2004-03-17 17:32 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-03-19  0:09     ` Eli Zaretskii
@ 2004-03-17  6:11       ` Eli Zaretskii
  2004-03-17 17:32       ` Daniel Jacobowitz
  1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2004-03-17  6:11 UTC (permalink / raw)
  To: David Carlton; +Cc: gdb-patches, drow

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

> I'm still not entirely thrilled with it, especially that last
> sentence; I don't want to go into _too_ many details, but I'm not sure
> I've found the right balance.

I think your text strikes the right balance, one that is appropriate
to NEWS.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-03-19  0:09   ` David Carlton
@ 2004-03-17  0:29     ` David Carlton
  2004-03-19  0:09     ` Eli Zaretskii
  1 sibling, 0 replies; 13+ messages in thread
From: David Carlton @ 2004-03-17  0:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches, drow

On Wed, 11 Feb 2004 21:31:44 +0200, "Eli Zaretskii" <eliz@elta.co.il> said:
>> From: David Carlton <carlton@kealia.com>
>> Date: Wed, 11 Feb 2004 10:15:27 -0800

>> +* C++ nested types and namespaces
>> +
>> +GDB's support for nested types and namespaces in C++ has been
>> +improved.  We recommend that you use the DWARF 2 debugging format to
>> +get the full benefit from this; this is the default for recent
>> +versions of GCC on most platforms.
>> +

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

I'm still not entirely thrilled with it, especially that last
sentence; I don't want to go into _too_ many details, but I'm not sure
I've found the right balance.

I'm also trying to think of what else has changed - the patches have
been long enough that I would think I'd be able to point to more
features, but I guess it really is the case that fixing names of types
and teaching GDB about namespaces simply required a lot of
infrastructure changes...

David Carlton
carlton@kealia.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-02-11 19:31 ` Eli Zaretskii
@ 2004-02-16 19:44   ` Daniel Jacobowitz
  2004-03-19  0:09   ` David Carlton
  1 sibling, 0 replies; 13+ messages in thread
From: Daniel Jacobowitz @ 2004-02-16 19:44 UTC (permalink / raw)
  To: gdb-patches

On Wed, Feb 11, 2004 at 09:31:44PM +0200, Eli Zaretskii wrote:
> > From: David Carlton <carlton@kealia.com>
> > Date: Wed, 11 Feb 2004 10:15:27 -0800
> >  
> > +* C++ nested types and namespaces
> > +
> > +GDB's support for nested types and namespaces in C++ has been
> > +improved.  We recommend that you use the DWARF 2 debugging format to
> > +get the full benefit from this; this is the default for recent
> > +versions of GCC on most platforms.
> > +
> 
> 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.

Yes, I think this would be nice.  OTOH, I'm willig to approve it as
posted too.  Up to you, David.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [patch/rfc] mention C++ support in NEWS
  2004-02-11 18:15 David Carlton
@ 2004-02-11 19:31 ` Eli Zaretskii
  2004-02-16 19:44   ` Daniel Jacobowitz
  2004-03-19  0:09   ` David Carlton
  0 siblings, 2 replies; 13+ messages in thread
From: Eli Zaretskii @ 2004-02-11 19:31 UTC (permalink / raw)
  To: David Carlton; +Cc: gdb-patches, drow

> From: David Carlton <carlton@kealia.com>
> Date: Wed, 11 Feb 2004 10:15:27 -0800
>  
> +* C++ nested types and namespaces
> +
> +GDB's support for nested types and namespaces in C++ has been
> +improved.  We recommend that you use the DWARF 2 debugging format to
> +get the full benefit from this; this is the default for recent
> +versions of GCC on most platforms.
> +

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.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [patch/rfc] mention C++ support in NEWS
@ 2004-02-11 18:15 David Carlton
  2004-02-11 19:31 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: David Carlton @ 2004-02-11 18:15 UTC (permalink / raw)
  To: gdb-patches; +Cc: Daniel Jacobowitz

I'm pretty much done merging in my C++ changes (I'll post another
message with more details in a sec), so it seems like it's time to
mention it in NEWS.  Any suggested improvements to the wording in the
following patch?

David Carlton
carlton@kealia.com

2004-02-11  David Carlton  <carlton@kealia.com>

	* NEWS: Mention C++ nested types and namespaces.

Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.135
diff -u -p -r1.135 NEWS
--- NEWS	5 Feb 2004 19:56:33 -0000	1.135
+++ NEWS	11 Feb 2004 18:10:42 -0000
@@ -36,6 +36,13 @@ GDB support for location expressions has
 arguments and frame bases.  Older versions of GDB could crash when they
 encountered these.
 
+* C++ nested types and namespaces
+
+GDB's support for nested types and namespaces in C++ has been
+improved.  We recommend that you use the DWARF 2 debugging format to
+get the full benefit from this; this is the default for recent
+versions of GCC on most platforms.
+
 * New native configurations
 
 NetBSD/amd64					x86_64-*-netbsd*


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-03-17 17:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-17  1:29 [patch/rfc] mention C++ support in NEWS Michael Elizabeth Chastain
2004-03-19  0:09 ` Michael Elizabeth Chastain
  -- strict thread matches above, loose matches on Subject: below --
2004-02-11 18:15 David Carlton
2004-02-11 19:31 ` Eli Zaretskii
2004-02-16 19:44   ` Daniel Jacobowitz
2004-03-19  0:09   ` David Carlton
2004-03-17  0:29     ` David Carlton
2004-03-19  0:09     ` Eli Zaretskii
2004-03-17  6:11       ` Eli Zaretskii
2004-03-17 17:32       ` Daniel Jacobowitz
2004-03-19  0:09         ` David Carlton
2004-03-17 17:39           ` David Carlton
2004-03-19  0:09         ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox