From: Andrew Cagney <ac131313@redhat.com>
To: Nick Roberts <nick@nick.uklinux.net>
Cc: gdb@sources.redhat.com
Subject: Re: variable objects (was: [rfc] Annotation level THREE)
Date: Sun, 30 Mar 2003 15:11:00 -0000 [thread overview]
Message-ID: <3E870927.1020904@redhat.com> (raw)
In-Reply-To: <16006.63313.824491.352546@nick.uklinux.net>
> If -var-assign is used (or, indeed, if the array element is changed within
> execution) then the changelist reflects this e.g
>
> -var-assign var2.3 6
> ^done,value="6"
> (gdb)
> -var-update *
> ^done,changelist=[{name="var2.3",in_scope="true",type_changed="false"}]
> (gdb)
>
> -var-evaluate-expression gives the following:
>
> -var-evaluate-expression var2
> ^done,value="[10]"
> (gdb)
>
> which possibly explains why nothing appears in the changelist when the CLI
> command (set var r[3]=6) is used as the array size is not editable:
>
> -var-show-attributes var2
> ^done,attr="noneditable"
> (gdb)
Bug The CLI side is missing an invalidate. Can you please file this
as a bug report. I'll then see about fixing it. If you want to turn
the above into a test case, then you'll know it
> This is only a problem when trying to control GDB using both CLI and MI
> commands which is what we would like to do in Emacs. Do Apple (Project
> Builder?) or Eclipse have a console where CLI commands can be entered?
I suspect no one noticed because, up until now, things like Insight were
using varobj to do updates (it is more robust than the `set' command).
Andrew
next prev parent reply other threads:[~2003-03-30 15:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3E6E7326.3020906@redhat.com>
[not found] ` <15985.7336.23998.590592@nick.uklinux.net>
[not found] ` <3E751565.4030409@redhat.com>
[not found] ` <15990.10811.61395.996906@nick.uklinux.net>
[not found] ` <3E763228.9060104@redhat.com>
[not found] ` <15990.62618.114706.459904@nick.uklinux.net>
[not found] ` <3E774292.8070603@redhat.com>
2003-03-21 17:53 ` [rfc] Annotation level THREE Nick Roberts
2003-03-21 19:22 ` Andrew Cagney
[not found] ` <3E773B59.90403@redhat.com>
2003-03-27 20:51 ` Nick Roberts
2003-03-28 22:30 ` Andrew Cagney
2003-03-30 14:59 ` variable objects (was: [rfc] Annotation level THREE) Nick Roberts
2003-03-30 15:11 ` Andrew Cagney [this message]
2003-03-31 9:01 ` Jason Molenda
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=3E870927.1020904@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=nick@nick.uklinux.net \
/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