diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 714c91f30ba..881f111b5d5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2021-02-10 Tom de Vries <tdevries@suse.de> + + * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary + "Restore saved setting of complaints". + 2021-02-09 Tom de Vries <tdevries@suse.de> PR symtab/27341 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 1406b917151..016c678237c 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -5149,9 +5149,6 @@ proc gdb_load_no_complaints { arg } { # Verify that there were no complaints. set re "^Reading symbols from \[^\r\n\]*\r\n$gdb_prompt $" gdb_assert {[regexp $re $gdb_file_cmd_msg]} "No complaints" - - # Restore saved setting of complaints. - gdb_test_no_output "set complaints $save" "" } # gdb_reload -- load a file into the target. Called before "running",