This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [mi] fix 'editable' attribute for references
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 20 Jan 2007 14:45:48 -0500
- Subject: Re: [mi] fix 'editable' attribute for references
- References: <200701162138.39578.ghost@cs.msu.su> <eoj7nm$p6f$1@sea.gmane.org>
On Tue, Jan 16, 2007 at 10:06:30PM +0300, Vladimir Prus wrote:
> Vladimir Prus wrote:
>
> >
> > I've noticed that the -var-show-references returns 'attr=noneditable' for
> > structures, but 'attr=editable' for references to structures, which makes
> > no sense.
>
> I've also noticed that while for structures, we don't compare old
> and new values, and never report varobj corresponding to structure as
> changed, we do all that for references to structures. This patch fixes
> both problems, OK?
This is included in the C++ references patch I just reviewed, right?
--
Daniel Jacobowitz
CodeSourcery