This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI/C++/references fixup
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 29 Nov 2006 12:25:16 +0300
- Subject: Re: MI/C++/references fixup
- References: <200611291215.21876.vladimir@codesourcery.com>
Vladimir Prus wrote:
>
> As noted by Nick, my varobj laziness patch has broken C++ references
> updates -- now -var-update does not detect the situation when a reference
> variable just got initialized, for example:
>
> int x = 4;
> int &rx = x;
I've got that wrong -- the initialization of reference is detected, but the
change of the value itself is not.
- Volodya