old-cross-binutils/gdb/testsuite/gdb.cp
Tom Tromey 48e32051ca 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.
2010-02-19 20:22:03 +00:00
..
abstract-origin.cc
abstract-origin.exp
ambiguous.cc
ambiguous.exp
annota2.cc
annota2.exp
annota3.cc
annota3.exp
anon-union.cc
anon-union.exp
arg-reference.cc
arg-reference.exp
bool.cc
bool.exp
breakpoint.cc
breakpoint.exp
bs15503.cc
bs15503.exp
call-c-1.c
call-c.cc
call-c.exp
casts.cc
casts.exp
class2.cc
class2.exp
classes.cc
classes.exp
cp-relocate.cc
cp-relocate.exp
cpcompletion.exp gdb/testsuite/ 2010-02-16 20:23:43 +00:00
cplusfuncs.cc
cplusfuncs.exp
ctti.exp
cttiadd.cc
cttiadd1.cc
cttiadd2.cc
cttiadd3.cc
demangle.exp
derivation.cc
derivation.exp
exception.cc
exception.exp
expand-sals.cc
expand-sals.exp
extern-c.cc
extern-c.exp
formatted-ref.cc
formatted-ref.exp
gdb1355.cc
gdb1355.exp
gdb2384-base.cc
gdb2384-base.h
gdb2384.cc
gdb2384.exp
gdb2495.cc
gdb2495.exp
hang.exp
hang.H
hang1.cc
hang2.cc
hang3.cc
inherit.exp
local.cc
local.exp
m-data.cc
m-data.exp
m-static.cc
m-static.exp
m-static.h
m-static1.cc
maint.exp
Makefile.in PR gdb/10728 2010-02-08 18:27:53 +00:00
mb-ctor.cc
mb-ctor.exp
mb-inline.exp
mb-inline.h
mb-inline1.cc
mb-inline2.cc
mb-templates.cc
mb-templates.exp
member-ptr.cc
member-ptr.exp
method.cc
method.exp
method2.cc
method2.exp
misc.cc
misc.exp
namespace-nested-import.cc
namespace-nested-import.exp
namespace.cc
namespace.exp gdb 2010-02-19 20:22:03 +00:00
namespace1.cc
nsdecl.cc
nsdecl.exp
nsimport.cc
nsimport.exp
nsrecurs.cc
nsrecurs.exp
nsstress.cc
nsstress.exp
nsusing.cc
nsusing.exp
overload.cc gdb/ 2010-02-16 20:51:51 +00:00
overload.exp gdb/testsuite/ 2010-02-16 21:09:32 +00:00
ovldbreak.cc
ovldbreak.exp
pass-by-ref.cc
pass-by-ref.exp
pr-574.cc
pr-574.exp
pr-1023.cc
pr-1023.exp
pr-1210.cc
pr-1210.exp
pr9067.cc
pr9067.exp
pr9594.cc
pr9631.cc
pr9631.exp
pr10728-x.cc PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728-x.h PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728-y.cc PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728.exp PR gdb/10728 2010-02-08 18:27:53 +00:00
printmethod.cc
printmethod.exp
psmang.exp
psmang1.cc
psmang2.cc
punctuator.exp
ref-params.cc
ref-params.exp
ref-types.cc
ref-types.exp
rtti.exp
rtti.h
rtti1.cc
rtti2.cc
shadow.cc
shadow.exp
templates.cc
templates.exp
try_catch.cc
try_catch.exp
userdef.cc
userdef.exp
virtbase.cc
virtbase.exp
virtfunc.cc
virtfunc.exp
virtfunc2.cc
virtfunc2.exp