From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Berlin To: Alexander Zhuckov Cc: gdb@sourceware.cygnus.com Subject: Re: namespaces and gdb Date: Wed, 28 Jun 2000 10:28:00 -0000 Message-id: References: <877lb96foa.fsf@ithilien.int.spb.ru> X-SW-Source: 2000-06/msg00198.html 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). On 28 Jun 2000, Alexander Zhuckov wrote: > Hi! > > I use Linux, C++ and gdb 5.0. > Suppose I have a simple program: > > namespace Foo { > > const char version[] = "0.1"; > > } > > int main() > { > return 0; > } > > How I can eximine a value of the Foo::vesrion varibale? > > -- > Alexander Zhuckov zuav@int.spb.ru 2:5030/518.50 >