diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 49945931e29..8d7af7433aa 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-10-04 Tom Tromey + + * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet; + set width and height to 0. + (test_command_line_attach_run): Use -quiet. + 2018-10-03 Sandra Loosemore * lib/gdb.exp (skip_ifunc_tests): New. diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index 8199a80c6b9..3f3a0edbb9d 100644 --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -376,7 +376,8 @@ proc do_command_attach_tests {} { gdb_exit - set res [gdb_spawn_with_cmdline_opts "--pid=$testpid"] + set res [gdb_spawn_with_cmdline_opts \ + "-quiet -iex \"set height 0\" -iex \"set width 0\" --pid=$testpid"] set test "starting with --pid" gdb_test_multiple "" $test { -re "Reading symbols from.*$gdb_prompt $" { @@ -408,7 +409,7 @@ proc test_command_line_attach_run {} { gdb_exit set res [gdb_spawn_with_cmdline_opts \ - "-iex \"set height 0\" -iex \"set width 0\" --pid=$testpid -ex \"start\""] + "-quiet -iex \"set height 0\" -iex \"set width 0\" --pid=$testpid -ex \"start\""] if { $res != 0} { fail $test kill_wait_spawned_process $test_spawn_id