This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: c++/1209: Enums as template parameters produce "can't find class" errors
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 21 Jun 2003 21:18:00 -0000
- Subject: Re: c++/1209: Enums as template parameters produce "can't find class" errors
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR c++/1209; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: c++/1209: Enums as template parameters produce "can't find class" errors
Date: Sat, 21 Jun 2003 17:09:48 -0400
On Tue, May 13, 2003 at 02:48:00AM -0000, Daniel Jacobowitz wrote:
> Thanks for the testcase. I don't have time to investigate right now,
> but to leave myself a note for later:
> The demangler normally produces the SubSub<(GNetConn)0> form when using
> DMGL_VERBOSE, and the SubSub<GSimpleNetConn> form otherwise. I can't
> see where GDB is being inconsistent, but the trick to this one will be
> tracking down where the demangler is returning the overly-verbose form.
Sigh, it's somewhere in the depths of the demangler.
The best approach to this may be to store templates differently, and be
more thorough trying to identify a particular instantiation, in order
to recognize it by multiple names.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer