This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: namespaces and gdb


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]