namespaces and gdb

Alexander Zhuckov zuav@int.spb.ru
Fri Jun 30 02:05:00 GMT 2000


Daniel Berlin <dan@cgsoftware.com> writes:
> p 'Foo::version'
> I'm trying to remember if i made it possible to just do p Foo::version, i
> know i did it with templates.
> If you don't want to have to quote it, try the latest CVS version of gdb,
> and tell me if i fixed that (Bell Atlantic DSL is down right now, or else
> i'd do a checkout myself).

Thank you very much! I tried it (p 'Foo::version') in gdb 5.0 and it works.
And now I have one more question: how I can examine a value of a variable
in anonymous namespace?
-- 
Alexander Zhuckov   zuav@int.spb.ru   2:5030/518.50


More information about the Gdb mailing list