collecting optimized out variables regression (Re: RFA: rewrite dwarf->ax translator

Tom Tromey tromey@redhat.com
Thu Jul 1 15:25:00 GMT 2010


>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

>> -  if (!data || size == 0)
>> -    {
>> -      value->optimized_out = 1;
>> -      return;
>> -    }

Pedro> Apparently, this bit was lost with the rewrite.

Oops, sorry about that.

Pedro> This patch fixes it for me.  Is this the correct approach, or
Pedro> maybe there was intent to handle this differently?

It looks good to me.

Tom



More information about the Gdb-patches mailing list