summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/catch-load.exp
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-06-09 16:45:48 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-06-24 15:07:29 +0100
commit9704b8b4bc58f4f464961cca97d362fd33740ce8 (patch)
treec5ecc9e90a9e915a69bf5b209d13979fc6e349db /gdb/testsuite/gdb.base/catch-load.exp
parentef7a6b977bf5e8499734a3b8df48ce2ca690cf57 (diff)
downloadbinutils-gdb-9704b8b4bc58f4f464961cca97d362fd33740ce8.tar.gz
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.base/catch-load.exp')
-rw-r--r--gdb/testsuite/gdb.base/catch-load.exp6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/catch-load.exp b/gdb/testsuite/gdb.base/catch-load.exp
index 7f18f63806a..f8677b0a53d 100644
--- a/gdb/testsuite/gdb.base/catch-load.exp
+++ b/gdb/testsuite/gdb.base/catch-load.exp
@@ -18,12 +18,6 @@ if {[skip_shlib_tests]} {
return -1
}
-if {[get_compiler_info]} {
- warning "Could not get compiler info"
- untested "no compiler info"
- return -1
-}
-
standard_testfile .c
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug shlib_load}] != "" } {
untested "failed to compile"