C++ nested classes, namespaces, structs, and compound statements

Joel Brobecker brobecker@ACT-Europe.FR
Mon Apr 8 00:59:00 GMT 2002


> 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



More information about the Gdb mailing list