summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/anon-ns.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-12-02 16:40:38 -0800
committerDoug Evans <dje@google.com>2014-12-02 16:40:38 -0800
commit29f0c3b7b2b4fb46dd5ad29c72ae41a565f5ac60 (patch)
treee662757950de0395148f81d793eaecd1f6640cbd /gdb/testsuite/gdb.cp/anon-ns.exp
parent72998fb37a6a4bc684ba86228e81f27c7a7609ca (diff)
downloadbinutils-gdb-29f0c3b7b2b4fb46dd5ad29c72ae41a565f5ac60.tar.gz
PR symtab/17602
gdb/ChangeLog: PR symtab/17602 * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. gdb/testsuite/ChangeLog: PR symtab/17602 * gdb.cp/anon-ns.cc: Move guts of this file to ... * gdb.cp/anon-ns-2.cc: ... here. New file. * gdb.cp/anon-ns.exp: Update.
Diffstat (limited to 'gdb/testsuite/gdb.cp/anon-ns.exp')
-rw-r--r--gdb/testsuite/gdb.cp/anon-ns.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/anon-ns.exp b/gdb/testsuite/gdb.cp/anon-ns.exp
index 0cbb71b897b..f8d49709bc7 100644
--- a/gdb/testsuite/gdb.cp/anon-ns.exp
+++ b/gdb/testsuite/gdb.cp/anon-ns.exp
@@ -19,9 +19,9 @@
if {[skip_cplus_tests]} { continue }
-standard_testfile .cc
+standard_testfile .cc anon-ns2.cc
-if {[prepare_for_testing $testfile $testfile $srcfile {c++ debug}]} {
+if {[prepare_for_testing $testfile $testfile "$srcfile $srcfile2" {c++ debug}]} {
return -1
}