This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Variable objects: references formatting
- From: "Jim Blandy" <jimb at red-bean dot com>
- To: "Nick Roberts" <nickrob at snap dot net dot nz>
- Cc: "Vladimir Prus" <ghost at cs dot msu dot su>, gdb-patches at sources dot redhat dot com
- Date: Wed, 3 May 2006 16:50:04 -0700
- Subject: Re: Variable objects: references formatting
- References: <17497.14121.225320.477428@farnswood.snap.net.nz>
On 5/3/06, Nick Roberts <nickrob@snap.net.nz> wrote:
There are som many things about this patch that I don't understand:
I may have made a mistake in reviewing, but please don't be
elliptical: just say what you think is wrong.
The patch is against an older version of varobj.c, and does seem to be
cut from a larger patch, but it applies, and given the surrounding
code in c_value_of_variable, and the behavior of c_val_print, the
general sense of the change seems correct. Have you tried creating
varobjs for values that are references to structs and displaying them,
which I think is the case actually being addressed?