aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.exp b/gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.exp
index 6739724..7871851 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.exp
@@ -27,13 +27,9 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {}] != "
return -1
}
-set saved_gdbflags $GDBFLAGS
-set GDBFLAGS "$GDBFLAGS -readnow"
-
clean_restart $executable
+gdb_test_no_output "maint expand-symtab"
# Something simple to verify gdb didn't crash, and has read in whatever symbol
# info is there.
gdb_test "info fun main" "main_end"
-
-set GDBFLAGS $saved_gdbflags