This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Question on typedefs of anonymous structs in G++
- From: Paul Hilfinger <Hilfinger at adacore dot com>
- To: gdb at sourceware dot org
- Date: Wed, 7 May 2008 05:00:45 -0400 (EDT)
- Subject: Question on typedefs of anonymous structs in G++
- Reply-to: Hilfinger at adacore dot com
Using g++ 4.1 on Linux (at least), I observe that a type such as
typedef struct {
...
} Foo;
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.
Paul Hilfinger