bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb 5.0 bug "no symbol in current context"


From: Ronald Fischer
Subject: gdb 5.0 bug "no symbol in current context"
Date: Thu, 03 May 2001 09:52:45 +0200

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 <address@hidden>
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.

Attachment: bug.tar
Description: Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]