This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix PR symtab/11464
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 04 Feb 2013 09:33:26 -0700
- Subject: Re: RFC: fix PR symtab/11464
- References: <87hamovmu7.fsf@fleche.redhat.com> <20130203054502.GB16948@host2.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> I do not see there a regression; this does not mean much for c-exp.y.
I'll look.
It may be more visible under valgrind.
>> +
>> + if (classification == NAME)
>> + break;
Jan> IIUC this is a parsing cleanup unrelated to this bug.
No, I think we have to only allow TYPENAME results to continue the loop.
This is part of the core of the bug - that we would end up trying to use
yylval.tsym.type when it was not valid.
Tom