summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-15 16:18:59 +0000
committerTom Tromey <tromey@redhat.com>2012-06-15 16:18:59 +0000
commit941d94dfcb50da0e968f16044dd24eb4c1db2230 (patch)
treeb75d870a7e9db5ebcb453d32f63f866c73ca5990 /gdb/testsuite/gdb.cp
parent43b2aab8bc43c70abe300626943ff2f9167940c9 (diff)
downloadgdb-941d94dfcb50da0e968f16044dd24eb4c1db2230.tar.gz
* dwarf2read.c (dw2_find_symbol_file): Unconditionally use
init_cutu_and_read_dies. testsuite * gdb.cp/namespace.exp: Add "show lang" test.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/namespace.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/namespace.exp b/gdb/testsuite/gdb.cp/namespace.exp
index cf5a85899e5..82018c6441b 100644
--- a/gdb/testsuite/gdb.cp/namespace.exp
+++ b/gdb/testsuite/gdb.cp/namespace.exp
@@ -66,6 +66,7 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
+gdb_test "show lang" "auto; currently c\\+\\+.*"
#
# set it up at a breakpoint so we can play with the variable values