This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: fix PR symtab/11464


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]