diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-06-09 16:45:48 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-06-24 15:07:29 +0100 |
commit | 9704b8b4bc58f4f464961cca97d362fd33740ce8 (patch) | |
tree | c5ecc9e90a9e915a69bf5b209d13979fc6e349db /gdb/testsuite/gdb.compile | |
parent | ef7a6b977bf5e8499734a3b8df48ce2ca690cf57 (diff) | |
download | gdb-9704b8b4bc58f4f464961cca97d362fd33740ce8.zip gdb-9704b8b4bc58f4f464961cca97d362fd33740ce8.tar.gz gdb-9704b8b4bc58f4f464961cca97d362fd33740ce8.tar.bz2 |
gdb/testsuite: remove unneeded calls to get_compiler_info
It is not necessary to call get_compiler_info before calling
test_compiler_info, and, after recent commits that removed setting up
the gcc_compiled, true, and false globals from get_compiler_info,
there is now no longer any need for any test script to call
get_compiler_info directly.
As a result every call to get_compiler_info outside of lib/gdb.exp is
redundant, and this commit removes them all.
There should be no change in what is tested after this commit.
Diffstat (limited to 'gdb/testsuite/gdb.compile')
-rw-r--r-- | gdb/testsuite/gdb.compile/compile-cplus-print.exp | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.compile/compile-cplus.exp | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.compile/compile-ifunc.exp | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.compile/compile.exp | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.compile/compile-cplus-print.exp b/gdb/testsuite/gdb.compile/compile-cplus-print.exp index fd6470b..67b3951 100644 --- a/gdb/testsuite/gdb.compile/compile-cplus-print.exp +++ b/gdb/testsuite/gdb.compile/compile-cplus-print.exp @@ -17,7 +17,6 @@ load_lib compile-support.exp standard_testfile -get_compiler_info set options {} if [test_compiler_info gcc*] { lappend options additional_flags=-g3 diff --git a/gdb/testsuite/gdb.compile/compile-cplus.exp b/gdb/testsuite/gdb.compile/compile-cplus.exp index d700d3d..dbdae5f 100644 --- a/gdb/testsuite/gdb.compile/compile-cplus.exp +++ b/gdb/testsuite/gdb.compile/compile-cplus.exp @@ -17,7 +17,6 @@ load_lib compile-support.exp standard_testfile .c compile-shlib.c compile-constvar.S compile-nodebug.c -get_compiler_info set options {} if { [test_compiler_info gcc*] || [test_compiler_info clang*] } { lappend options additional_flags=-g3 diff --git a/gdb/testsuite/gdb.compile/compile-ifunc.exp b/gdb/testsuite/gdb.compile/compile-ifunc.exp index dc7b19a..4f671c6 100644 --- a/gdb/testsuite/gdb.compile/compile-ifunc.exp +++ b/gdb/testsuite/gdb.compile/compile-ifunc.exp @@ -19,7 +19,6 @@ if {[skip_ifunc_tests]} { standard_testfile -get_compiler_info set flags "" if [test_compiler_info gcc*] { set flags additional_flags=-Wno-attribute-alias diff --git a/gdb/testsuite/gdb.compile/compile.exp b/gdb/testsuite/gdb.compile/compile.exp index f8d6fb1..f251558 100644 --- a/gdb/testsuite/gdb.compile/compile.exp +++ b/gdb/testsuite/gdb.compile/compile.exp @@ -15,7 +15,6 @@ standard_testfile .c compile-shlib.c compile-constvar.S compile-nodebug.c -get_compiler_info set options {} if [test_compiler_info gcc*] { lappend options additional_flags=-g3 |