From: Andrew Walrond <andrew@walrond.org>
To: Prashant Deva <fulcrum1@onlysmart.com>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: How to view value of variable in namespaces?
Date: Wed, 09 Oct 2002 02:57:00 -0000 [thread overview]
Message-ID: <3DA3FD4C.7010304@walrond.org> (raw)
In-Reply-To: <000b01c26f79$1d456bd0$39698aca@homecomp>
I think 'with great difficulty' about sums it up. If you follow the
conversations here, you'll see there is some serious work going on at
the moment to bring namespace understanding to gdb. I for one am
following developments with great anticipation....
Prashant Deva wrote:
>I have code like this-
>
>namespace testSP
>{
> int spert;
>}
>
>but if i try to do -
>'print testSP::spert'
>
>in gdb, it tells me 'no symbol testSPin current context'.
>I also tried putting 'using namespace testSP' in my code but the same error
>continued to come.
>
>So how am i supposed to view the value of variables inside namespaces?
>
>P.S.- I am using gdb v 5.1.1.
>
>
>
next prev parent reply other threads:[~2002-10-09 9:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-09 2:50 Prashant Deva
2002-10-09 2:57 ` Andrew Walrond [this message]
2002-10-09 5:52 ` Daniel Jacobowitz
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=3DA3FD4C.7010304@walrond.org \
--to=andrew@walrond.org \
--cc=fulcrum1@onlysmart.com \
--cc=gdb@sources.redhat.com \
/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