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.cp/gdb2384.exp | |
parent | ef7a6b977bf5e8499734a3b8df48ce2ca690cf57 (diff) | |
download | fsf-binutils-gdb-9704b8b4bc58f4f464961cca97d362fd33740ce8.zip fsf-binutils-gdb-9704b8b4bc58f4f464961cca97d362fd33740ce8.tar.gz fsf-binutils-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.cp/gdb2384.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/gdb2384.exp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.cp/gdb2384.exp b/gdb/testsuite/gdb.cp/gdb2384.exp index 34065b0..4181ab4 100644 --- a/gdb/testsuite/gdb.cp/gdb2384.exp +++ b/gdb/testsuite/gdb.cp/gdb2384.exp @@ -28,12 +28,6 @@ standard_testfile .cc gdb2384-base.cc set sofile [standard_output_file gdb2384-base.so] -# Create and source the file that provides information about the compiler -# used to compile the test case. -if [get_compiler_info "c++"] { - return -1 -} - if { [gdb_compile_shlib $srcdir/$subdir/$srcfile2 $sofile {debug c++}] != "" || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable [list debug "c++" shlib=${sofile}]] != ""} { untested "failed to compile" |