This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/1209: Enums as template parameters produce "can't find class" errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]