This is the mail archive of the
mailing list for the GDB project.
Re: namespaces and gdb
Daniel Berlin <firstname.lastname@example.org> 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 email@example.com 2:5030/518.50