Re: [PATCH] [RFC] Fix ptype bug actually exercised in userdef.exp

Pedro Alves
2013-02-14T12:53:54Z

On 02/13/2013 08:56 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> This patch fixes it. The issue is that we're entering the VALUE_LVAL
> Pedro> (x) == lval_memory branch by mistake for references. The fix is just
> Pedro> to swap the tests so references are checked first, like value_addr
> Pedro> also handles references first.
>
> Pedro> Comments?
>
> It looks reasonable to me.

Thanks. Checked in (v2).

--
Pedro Alves