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.mi/mi-pending.exp | |
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.mi/mi-pending.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-pending.exp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp index d71d606..cfb4a3a 100644 --- a/gdb/testsuite/gdb.mi/mi-pending.exp +++ b/gdb/testsuite/gdb.mi/mi-pending.exp @@ -35,10 +35,6 @@ set lib_sl2 [standard_output_file $libfile2.sl] set lib_opts debug set exec_opts [list debug shlib=$lib_sl1 shlib_load] -if [get_compiler_info] { - return -1 -} - if { [gdb_compile_shlib $libsrc1 $lib_sl1 $lib_opts] != "" || [gdb_compile_shlib $libsrc2 $lib_sl2 $lib_opts] != ""} { untested "failed to compile shared library" |