[PATCH] [RFC] Fix ptype bug actually exercised in userdef.exp
Tom Tromey
tromey@redhat.com
Wed Feb 13 20:57:00 GMT 2013
>>>>> "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.
Tom
More information about the Gdb-patches
mailing list