From: Vladimir Prus <ghost@cs.msu.su>
To: gdb@sources.redhat.com
Subject: Checking if value is editable
Date: Thu, 14 Jul 2005 08:03:00 -0000 [thread overview]
Message-ID: <db5687$7oj$1@sea.gmane.org> (raw)
Hello,
how is it possible to check that a value/expression is editable, so that I
can disable "edit" functionality in a GUI.
Reading MI docs, I see that '-var-assign' only works in variable is
'editable', but there's what I get in gdb 6.3:
(gdb)
-var-create constant 0 123+5*6
^done,name="constant",numchild="0",type="long"
(gdb)
-var-show-attributes constant
^done,attr="editable"
This looks like a bug... setting the value of 123+5*6 won't work.
So:
1. Is above indeed a bug?
2. Can I get the same information ("is value editable") using command line
interface, and not MI.
Thanks,
Volodya
reply other threads:[~2005-07-14 8:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='db5687$7oj$1@sea.gmane.org' \
--to=ghost@cs.msu.su \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).