The following bug can be reproduced with gdb 5.0 and gcc 2.95.2 running
under Solaris 2.6.

Compile the enclosed files with 

        g++ -g *cc

and run

        gdb a.out

Inside gdb, do a 

        print cs::constants::dbDirEnvVarName

and you get

        no symbol cs in current context.

Interestingly, if you quote the expression, as in

        print 'cs::constants::dbDirEnvVarName'

the symbol is printed correctly.

Ronald
-- 
Ronald Otto Valentin Fischer <[EMAIL PROTECTED]>
http://profiles.yahoo.com/ronny_fischer/
http://fusshuhn.ourfamily.com/cppincomp.html
This is Unix land. In quiet nights you can hear Windows machines reboot.

bug.tar

Reply via email to