This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] testsuite/gdb.c++/local.exp: accept more nested types
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 27 May 2002 14:10:25 -0400
- Subject: Re: [patch] testsuite/gdb.c++/local.exp: accept more nested types
- References: <200205271758.g4RHwhY21911@duracef.shout.net>
On Mon, May 27, 2002 at 12:58:43PM -0500, Michael Elizabeth Chastain wrote:
> This patch updates local.exp to track an improvement in gdb.
> In a configuration with gcc HEAD -gstabs+, gdb prints nested types
> as "InnerLocal::NestedInnerLocal" instead of just "NestedInnerLocal".
It's an improvement in GCC's debug output, I believe; I seem to recall
Kevin posting a patch for this to gcc-patches recently.
> This output is okay.
Is it really? It seems to me that we should strip off the name of the
enclosing class from nested types. This becomes more of an issue with
the DWARF-2 type printing I'm experimenting with.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer