gdb
authorTom Tromey <tromey@redhat.com>
Fri, 19 Feb 2010 20:22:03 +0000 (20:22 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 19 Feb 2010 20:22:03 +0000 (20:22 +0000)
commit48e32051ca17ba1cc1a2d5adc90ae5a63775e138
treeceb4f1f24d0d7bb10e106f1d9416354b0d5e5915
parent629d6a470a1b61631c812ec417b522fb6d69d9d1
gdb
PR c++/8693, PR c++/9496:
* cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION.
* c-exp.y (lex_one_token): Rename from yylex.  Don't call
write_dollar_variable.  Don't try to classify NAME tokens.
(token_and_value): New type.
(token_fifo, popping, name_obstack): New globals.
(classify_name): New function.
(classify_inner_name): Likewise.
(yylex): Likewise.
(VARIABLE): Now has type sval.
(exp : VARIABLE): Call write_dollar_variable.
(qualified_name): Use TYPENAME, not typebase.  Add production for
multiple "::" instances.
(variable): Use name_not_typename.
(qualified_type): Remove.
(typebase): Update.
gdb/testsuite
PR c++/8693, PR c++/9496:
* gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
regression tests.
gdb/ChangeLog
gdb/c-exp.y
gdb/cp-namespace.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/namespace.exp
This page took 0.037647 seconds and 4 git commands to generate.