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: [patch] Fix C++ leading :: (PR c++/11703 and PR gdb/1448)


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> Maybe a more clear/straightforward conditional could be chosen than
Jan> `first_was_coloncolon && first_iter' to just really check
Jan> yylval.sval.ptr has been initialized.  But from some higher level
Jan> point of view the equivalent conditional `first_was_coloncolon &&
Jan> first_iter' makes sense there.

I agree.

Jan> 2010-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	Fix PR c++/11703 and PR gdb/1448.
Jan> 	* c-exp.y (yylex) <last_was_coloncolon && first_was_coloncolon>: Add
Jan> 	FIRST_ITER check.

Jan> 2010-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	Test PR c++/11703 and PR gdb/1448.
Jan> 	* gdb.cp/namespace.exp (whatis ::C::cOtherFileVar)
Jan> 	(print ::C::cOtherFileVar)
Jan> 	(print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
Jan> 	c++/11703.
Jan> 	(ptype ::C::NestedClass): Remove KFAIL for gdb/1448.

This is ok.  Thanks for fixing this.

Tom


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