This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix variable objects for references to pointers
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: Nick Roberts <nickrob at snap dot net dot nz>, gdb-patches at sources dot redhat dot com
- Date: Thu, 14 Dec 2006 09:02:12 +0300
- Subject: Re: [PATCH] Fix variable objects for references to pointers
- References: <17792.55489.274138.854508@kahikatea.snap.net.nz>
Nick Roberts wrote:
> This is a RFA for the patch below to fix variable objects for references
> to pointers as previously discussed. ÂI've moved the changes into
> get_type_deref, as suggested by Vladimir, so that they appear in one
> rather than four places.
>
> Currently get_type_deref dereferences once for a reference or a pointer.
> All this patch does is dereference twice in the case of a references to a
> pointer.
Is there are testcase for this?
- Volodya