Re: [PATCH] -var-update [was Re: Variable objects: references formatting]

Daniel Jacobowitz
2006-05-17T01:43:14Z

On Thu, May 18, 2006 at 01:28:05PM +1200, Nick Roberts wrote:
> Well GDB appears to interpret the address as being the value, its actual value
> doesn't seem to be stored in the value structure (or if it is, I can't find
> it).

The contents are a _different_ value, that's the point - one without a
reference type. coerce_ref converts the reference to its value.

I do not quite understand why coerce_array is used; I suspect the
contents of an array are checked via the children instead of the
parent. coerce_array happens to also call coerce_ref.

--
Daniel Jacobowitz
CodeSourcery