diff options
Diffstat (limited to 'gdb/testsuite/gdb.tui/main.exp')
-rw-r--r-- | gdb/testsuite/gdb.tui/main.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.tui/main.exp b/gdb/testsuite/gdb.tui/main.exp index 7fc9969..9cd3ce8 100644 --- a/gdb/testsuite/gdb.tui/main.exp +++ b/gdb/testsuite/gdb.tui/main.exp @@ -40,7 +40,8 @@ if {![Term::enter_tui]} { return } -Term::command "file [standard_output_file $testfile]" +send_gdb "file [standard_output_file $testfile]\n" +gdb_assert { [Term::wait_for "Reading symbols from"] } "file command" Term::check_contents "show main after file" \ [string_to_regexp "|___[format %06d $nr]_$line"] |