diff options
author | Pedro Alves <pedro@palves.net> | 2020-12-07 18:55:08 +0000 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2020-12-07 20:31:24 +0000 |
commit | bc545da73fff1e6dfa3493b5dcd73255c20adcf2 (patch) | |
tree | 327cf6ceca7667abb337661210ad1ce373ea13c2 /gdb | |
parent | 846141822b5d8f6ecc549ce98be474522b95d9cb (diff) | |
download | gdb-bc545da73fff1e6dfa3493b5dcd73255c20adcf2.zip gdb-bc545da73fff1e6dfa3493b5dcd73255c20adcf2.tar.gz gdb-bc545da73fff1e6dfa3493b5dcd73255c20adcf2.tar.bz2 |
gdb.base/break-on-linker-gcd-function.exp: Remove unused variable
Commit:
commit 4d142eaa28c64565b58fcdb5a83377ec9b778cb1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
AuthorDate: Tue Jul 2 20:06:12 2013 +0000
gdb/testsuite/
* gdb.base/break-on-linker-gcd-function.exp: Replace
prepare_for_testing by build_executable_from_specs and clean_restart.
...
did:
set additional_flags {-ffunction-sections -Wl,--gc-sections}
-if {[prepare_for_testing $testfile.exp $testfile $srcfile \
- [list debug c++ additional_flags=$additional_flags]]} {
+if {[build_executable_from_specs $testfile.exp $testfile \
+ {c++ additional_flags=-Wl,--gc-sections} \
+ $srcfile {debug c++ additional_flags=-ffunction-sections}]} {
and that left the additional_flags variable behind. Remove it.
gdb/testsuite/ChangeLog:
* gdb.base/break-on-linker-gcd-function.exp: Remove unused
'additional_flags' variable.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f5219ea..3b7deaf 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-12-07 Pedro Alves <pedro@palves.net> + + * gdb.base/break-on-linker-gcd-function.exp: Remove unused + 'additional_flags' variable. + 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * 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 26df46f..de63441 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}]} { |