From: JS <fedevaps@yahoo.dk>
To: gdb@sources.redhat.com
Subject: Print variable with gdb??
Date: Wed, 30 Mar 2005 09:19:00 -0000 [thread overview]
Message-ID: <d2dqrv$lb3$1@sea.gmane.org> (raw)
I have:
int p = 5;
when I debug my code I would like to get a print of p's value therefore I
start gdb and type:
print p
but then I get an error that the variable does not exists!
Hope someone can help!
JS
next reply other threads:[~2005-03-30 9:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-30 9:19 JS [this message]
2005-03-30 9:28 ` Russell Shaw
2005-03-30 10:22 ` Dave Korn
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='d2dqrv$lb3$1@sea.gmane.org' \
--to=fedevaps@yahoo.dk \
--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