diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f5219ea182f..3b7deafe91b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-12-07 Pedro Alves + + * gdb.base/break-on-linker-gcd-function.exp: Remove unused + 'additional_flags' variable. + 2020-12-07 Tankut Baris Aktemur * gdb.linespec/explicit.exp: Extend with a test to check completing diff --git a/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp b/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp index 26df46f1737..de63441bdd4 100644 --- a/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp +++ b/gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp @@ -31,7 +31,6 @@ if [get_compiler_info "c++"] { return -1 } -set additional_flags {-ffunction-sections -Wl,--gc-sections} if {[build_executable_from_specs $testfile.exp $testfile \ {c++ additional_flags=-Wl,--gc-sections} \ $srcfile {debug c++ additional_flags=-ffunction-sections}]} {