This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: collecting optimized out variables regression (Re: RFA: rewrite dwarf->ax translator
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Stan Shebs <stan at codesourcery dot com>, Jan Kratochvil <jkratoch at redhat dot com>
- Date: Thu, 01 Jul 2010 09:24:58 -0600
- Subject: Re: collecting optimized out variables regression (Re: RFA: rewrite dwarf->ax translator
- References: <m3ljbgdc4a.fsf@fleche.redhat.com> <m3r5kyl3zt.fsf@fleche.redhat.com> <m3ocfrzxia.fsf_-_@fleche.redhat.com> <201007011343.00392.pedro@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "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