This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Question on typedefs of anonymous structs in G++
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Hilfinger <Hilfinger at adacore dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 7 May 2008 07:38:51 -0400
- Subject: Re: Question on typedefs of anonymous structs in G++
- References: <20080507090045.51A1048CC44@nile.gnat.com>
On Wed, May 07, 2008 at 05:00:45AM -0400, Paul Hilfinger wrote:
> produces no trace of debugging information about Foo. Serves one
> right for writing a C-style definition of Foo in a C++ program, to be
> sure, but G++ used to include Foo in the debugging data. Does anyone
> here happen to know the story behind the change? Thanks.
It is presumably just a bug (if the type is used somewhere); I suggest
verifying it on HEAD and putting it in gcc's bugzilla.
--
Daniel Jacobowitz
CodeSourcery