Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Berlin <dan@cgsoftware.com>
To: Alexander Zhuckov <zuav@int.spb.ru>
Cc: gdb@sourceware.cygnus.com
Subject: Re: namespaces and gdb
Date: Wed, 28 Jun 2000 10:28:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.10.10006281027001.6466-100000@propylaea.anduin.com> (raw)
In-Reply-To: <877lb96foa.fsf@ithilien.int.spb.ru>

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
> 


      reply	other threads:[~2000-06-28 10:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-28  7:34 Alexander Zhuckov
2000-06-28 10:28 ` Daniel Berlin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.10.10006281027001.6466-100000@propylaea.anduin.com \
    --to=dan@cgsoftware.com \
    --cc=gdb@sourceware.cygnus.com \
    --cc=zuav@int.spb.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox