From: "Sascha Radike" <sascha@pasalacqua.de>
To: "'Nick Roberts'" <nickrob@snap.net.nz>
Cc: <gdb@sourceware.org>
Subject: Re: BUG: MI reporting wrong attributes for casted variables
Date: Fri, 22 Jun 2007 10:51:00 -0000 [thread overview]
Message-ID: <000001c7b4bb$5873b310$02b2a8c0@insanenotebook> (raw)
In-Reply-To: <18043.30232.598149.954761@kahikatea.snap.net.nz>
>Yes, but I still don't really understand when a user would try to change
>the value of a cast of a variable. I would have thought that if you're
>making the cast then you're intending just to watch it's value.
In Eclipse CDT it is not always obvious which variables have been casted to
a different type. So the user might assign a value and all he gets is a
cryptic error message (cannot assign to variable object, or something like
that).
Anyway, I just made a change to the CDT code so type casted variables are no
longer editable. This bug has low priority. Maybe the behavior of GDB can be
changed in the future, so that only editable vars will have the "editable"
attribute.
Sascha
prev parent reply other threads:[~2007-06-22 10:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 17:12 Srrr
2007-06-21 20:17 ` Nick Roberts
2007-06-21 20:25 ` Daniel Jacobowitz
2007-06-21 21:31 ` Nick Roberts
2007-06-22 4:57 ` Vladimir Prus
2007-06-22 6:21 ` Sascha Radike
[not found] ` <000301c7b493$5ca88a50$02b2a8c0@insanenotebook>
2007-06-22 7:11 ` Nick Roberts
2007-06-22 10:51 ` Sascha Radike [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='000001c7b4bb$5873b310$02b2a8c0@insanenotebook' \
--to=sascha@pasalacqua.de \
--cc=gdb@sourceware.org \
--cc=nickrob@snap.net.nz \
/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