This is the mail archive of the gdb@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++ nested classes, namespaces, structs, and compound statements


> I'm very interested in hearing about what ACT did for Ada.  As far as I 
> know Ada, with its packages et.al. has a very similar problem and, 
> potentially, working code.

One thing we do is to use a precisely defined encoding that allows us to
retrieve this information from the name. For instance, for type T in
package Pck, the type name will be encoded into pck__t. The
specifications are available in exp_dbug.ads, which is part of the GNAT
sources.

-- 
Joel


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