aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/namespace.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-15 16:19:02 +0000
committerTom Tromey <tromey@redhat.com>2012-06-15 16:19:02 +0000
commit663b969e6822015e34d1ab00084501a600341ab2 (patch)
treeda6d43a21275a14d6ea0efc889f64bfa87da4896 /gdb/testsuite/gdb.cp/namespace.exp
parentd2667025dd30611514810c28bee9709e4623012a (diff)
downloadgdb-663b969e6822015e34d1ab00084501a600341ab2.zip
gdb-663b969e6822015e34d1ab00084501a600341ab2.tar.gz
gdb-663b969e6822015e34d1ab00084501a600341ab2.tar.bz2
* 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/namespace.exp')
-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 cf5a858..82018c6 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