PR symtab/11464:
authorTom Tromey <tromey@redhat.com>
Tue, 12 Feb 2013 20:27:36 +0000 (20:27 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 12 Feb 2013 20:27:36 +0000 (20:27 +0000)
commite234dfafcd88ca5015d3497e52c819a5c96493c5
treec04b8f82a7e30a45c0f1433862f0c9bfa4ed413b
parent0b1afbb37b6c21c50564ead74decadc13eba73c5
PR symtab/11464:
* c-exp.y (lex_one_token): Initialize other fields of yylval on
NAME return.
(classify_inner_name): Remove 'first_name' argument, add
'context'.  Remove unused variable.
(yylex): Explicitly maintain the context type.  Exit loop earlier
if NAME result is seen.
gdb/testsuite
* gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
* gdb.cp/m-static.exp: Add tests to print quoted destructor.
gdb/ChangeLog
gdb/c-exp.y
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/m-static.cc
gdb/testsuite/gdb.cp/m-static.exp