gdb/testsuite: remove unneeded calls to get_compiler_info
authorAndrew Burgess <aburgess@redhat.com>
Thu, 9 Jun 2022 15:45:48 +0000 (16:45 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 24 Jun 2022 14:07:29 +0000 (15:07 +0100)
commit9704b8b4bc58f4f464961cca97d362fd33740ce8
treec5ecc9e90a9e915a69bf5b209d13979fc6e349db
parentef7a6b977bf5e8499734a3b8df48ce2ca690cf57
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.
174 files changed:
gdb/testsuite/gdb.ada/array_of_variant.exp
gdb/testsuite/gdb.ada/arrayidx.exp
gdb/testsuite/gdb.ada/big_packed_array.exp
gdb/testsuite/gdb.ada/null_array.exp
gdb/testsuite/gdb.arch/altivec-abi.exp
gdb/testsuite/gdb.arch/altivec-regs.exp
gdb/testsuite/gdb.arch/amd64-byte.exp
gdb/testsuite/gdb.arch/amd64-dword.exp
gdb/testsuite/gdb.arch/amd64-word.exp
gdb/testsuite/gdb.arch/i386-avx.exp
gdb/testsuite/gdb.arch/i386-byte.exp
gdb/testsuite/gdb.arch/i386-sse.exp
gdb/testsuite/gdb.arch/i386-word.exp
gdb/testsuite/gdb.arch/ppc-dfp.exp
gdb/testsuite/gdb.arch/ppc-fp.exp
gdb/testsuite/gdb.arch/s390-multiarch.exp
gdb/testsuite/gdb.arch/vsx-regs.exp
gdb/testsuite/gdb.arch/vsx-vsr-float28.exp
gdb/testsuite/gdb.base/align-c++.exp
gdb/testsuite/gdb.base/all-bin.exp
gdb/testsuite/gdb.base/annota1.exp
gdb/testsuite/gdb.base/attach.exp
gdb/testsuite/gdb.base/break-interp.exp
gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp
gdb/testsuite/gdb.base/call-ar-st.exp
gdb/testsuite/gdb.base/call-rt-st.exp
gdb/testsuite/gdb.base/call-sc.exp
gdb/testsuite/gdb.base/catch-load.exp
gdb/testsuite/gdb.base/completion.exp
gdb/testsuite/gdb.base/complex.exp
gdb/testsuite/gdb.base/condbreak.exp
gdb/testsuite/gdb.base/consecutive.exp
gdb/testsuite/gdb.base/constvars.exp
gdb/testsuite/gdb.base/corefile.exp
gdb/testsuite/gdb.base/dprintf-pending.exp
gdb/testsuite/gdb.base/eval-skip.exp
gdb/testsuite/gdb.base/expand-psymtabs.exp
gdb/testsuite/gdb.base/exprs.exp
gdb/testsuite/gdb.base/fileio.exp
gdb/testsuite/gdb.base/fixsection.exp
gdb/testsuite/gdb.base/gdb11530.exp
gdb/testsuite/gdb.base/gnu-ifunc.exp
gdb/testsuite/gdb.base/hbreak-in-shr-unsupported.exp
gdb/testsuite/gdb.base/infcall-nested-structs-c++.exp
gdb/testsuite/gdb.base/info-fun.exp
gdb/testsuite/gdb.base/info-types-c++.exp
gdb/testsuite/gdb.base/infoline-reloc-main-from-zero.exp
gdb/testsuite/gdb.base/jit-elf-fork.exp
gdb/testsuite/gdb.base/jit-elf-so.exp
gdb/testsuite/gdb.base/jit-elf.exp
gdb/testsuite/gdb.base/jit-reader.exp
gdb/testsuite/gdb.base/list.exp
gdb/testsuite/gdb.base/logical.exp
gdb/testsuite/gdb.base/long_long.exp
gdb/testsuite/gdb.base/longjmp.exp
gdb/testsuite/gdb.base/max-depth-c++.exp
gdb/testsuite/gdb.base/mips_pro.exp
gdb/testsuite/gdb.base/miscexprs.exp
gdb/testsuite/gdb.base/nodebug.exp
gdb/testsuite/gdb.base/pc-fp.exp
gdb/testsuite/gdb.base/pending.exp
gdb/testsuite/gdb.base/permissions.exp
gdb/testsuite/gdb.base/pointers.exp
gdb/testsuite/gdb.base/print-file-var.exp
gdb/testsuite/gdb.base/printcmds.exp
gdb/testsuite/gdb.base/psym-external-decl.exp
gdb/testsuite/gdb.base/psymtab.exp
gdb/testsuite/gdb.base/relational.exp
gdb/testsuite/gdb.base/scope.exp
gdb/testsuite/gdb.base/shlib-call.exp
gdb/testsuite/gdb.base/shreloc.exp
gdb/testsuite/gdb.base/signals.exp
gdb/testsuite/gdb.base/sizeof.exp
gdb/testsuite/gdb.base/so-impl-ld.exp
gdb/testsuite/gdb.base/solib-disc.exp
gdb/testsuite/gdb.base/solib-display.exp
gdb/testsuite/gdb.base/solib-nodir.exp
gdb/testsuite/gdb.base/solib-overlap.exp
gdb/testsuite/gdb.base/solib-search.exp
gdb/testsuite/gdb.base/solib-symbol.exp
gdb/testsuite/gdb.base/solib-weak.exp
gdb/testsuite/gdb.base/store.exp
gdb/testsuite/gdb.base/structs.exp
gdb/testsuite/gdb.base/structs2.exp
gdb/testsuite/gdb.base/sym-file.exp
gdb/testsuite/gdb.base/symtab-search-order.exp
gdb/testsuite/gdb.base/unload.exp
gdb/testsuite/gdb.base/varargs.exp
gdb/testsuite/gdb.base/volatile.exp
gdb/testsuite/gdb.base/watch_thread_num.exp
gdb/testsuite/gdb.base/watchpoint-solib.exp
gdb/testsuite/gdb.base/watchpoint.exp
gdb/testsuite/gdb.base/watchpoints.exp
gdb/testsuite/gdb.compile/compile-cplus-print.exp
gdb/testsuite/gdb.compile/compile-cplus.exp
gdb/testsuite/gdb.compile/compile-ifunc.exp
gdb/testsuite/gdb.compile/compile.exp
gdb/testsuite/gdb.cp/ambiguous.exp
gdb/testsuite/gdb.cp/breakpoint.exp
gdb/testsuite/gdb.cp/bs15503.exp
gdb/testsuite/gdb.cp/casts.exp
gdb/testsuite/gdb.cp/class2.exp
gdb/testsuite/gdb.cp/cpexprs.exp.tcl
gdb/testsuite/gdb.cp/cplusfuncs.exp
gdb/testsuite/gdb.cp/ctti.exp
gdb/testsuite/gdb.cp/disasm-func-name.exp
gdb/testsuite/gdb.cp/dispcxx.exp
gdb/testsuite/gdb.cp/gdb1355.exp
gdb/testsuite/gdb.cp/gdb2384.exp
gdb/testsuite/gdb.cp/gdb2495.exp
gdb/testsuite/gdb.cp/infcall-dlopen.exp
gdb/testsuite/gdb.cp/infcall-nodebug-c++-d0.exp
gdb/testsuite/gdb.cp/infcall-nodebug-c++-d1.exp
gdb/testsuite/gdb.cp/local.exp
gdb/testsuite/gdb.cp/m-data.exp
gdb/testsuite/gdb.cp/m-static.exp
gdb/testsuite/gdb.cp/mb-ctor.exp
gdb/testsuite/gdb.cp/mb-inline.exp
gdb/testsuite/gdb.cp/mb-templates.exp
gdb/testsuite/gdb.cp/member-ptr.exp
gdb/testsuite/gdb.cp/method.exp
gdb/testsuite/gdb.cp/namespace.exp
gdb/testsuite/gdb.cp/nextoverthrow.exp
gdb/testsuite/gdb.cp/nsdecl.exp
gdb/testsuite/gdb.cp/nsrecurs.exp
gdb/testsuite/gdb.cp/nsstress.exp
gdb/testsuite/gdb.cp/nsusing.exp
gdb/testsuite/gdb.cp/pr-1023.exp
gdb/testsuite/gdb.cp/pr-1210.exp
gdb/testsuite/gdb.cp/pr-574.exp
gdb/testsuite/gdb.cp/pr9631.exp
gdb/testsuite/gdb.cp/printmethod.exp
gdb/testsuite/gdb.cp/psmang.exp
gdb/testsuite/gdb.cp/re-set-overloaded.exp
gdb/testsuite/gdb.cp/rtti.exp
gdb/testsuite/gdb.cp/rvalue-ref-casts.exp
gdb/testsuite/gdb.cp/shadow.exp
gdb/testsuite/gdb.cp/static-typedef-print.exp
gdb/testsuite/gdb.cp/step-and-next-inline.exp
gdb/testsuite/gdb.cp/temargs.exp
gdb/testsuite/gdb.cp/templates.exp
gdb/testsuite/gdb.cp/try_catch.exp
gdb/testsuite/gdb.cp/typed-enum.exp
gdb/testsuite/gdb.cp/typedef-base.exp
gdb/testsuite/gdb.ctf/cross-tu-cyclic.exp
gdb/testsuite/gdb.ctf/multi.exp
gdb/testsuite/gdb.dwarf2/break-inline-psymtab.exp
gdb/testsuite/gdb.fortran/library-module.exp
gdb/testsuite/gdb.guile/scm-type.exp
gdb/testsuite/gdb.mi/gdb792.exp
gdb/testsuite/gdb.mi/mi-catch-load.exp
gdb/testsuite/gdb.mi/mi-dprintf-pending.exp
gdb/testsuite/gdb.mi/mi-inheritance-syntax-error.exp
gdb/testsuite/gdb.mi/mi-pending.exp
gdb/testsuite/gdb.mi/mi-solib.exp
gdb/testsuite/gdb.mi/mi-var-cp.exp
gdb/testsuite/gdb.opt/clobbered-registers-O2.exp
gdb/testsuite/gdb.opt/inline-bt.exp
gdb/testsuite/gdb.opt/inline-cmds.exp
gdb/testsuite/gdb.opt/inline-locals.exp
gdb/testsuite/gdb.opt/solib-intra-step.exp
gdb/testsuite/gdb.python/py-events.exp
gdb/testsuite/gdb.python/py-finish-breakpoint.exp
gdb/testsuite/gdb.python/py-format-string.exp
gdb/testsuite/gdb.python/py-type.exp
gdb/testsuite/gdb.reverse/solib-precsave.exp
gdb/testsuite/gdb.reverse/solib-reverse.exp
gdb/testsuite/gdb.server/solib-list.exp
gdb/testsuite/gdb.stabs/weird.exp
gdb/testsuite/gdb.threads/attach-into-signal.exp
gdb/testsuite/gdb.threads/attach-stopped.exp
gdb/testsuite/gdb.threads/multiple-successive-infcall.exp
gdb/testsuite/gdb.trace/change-loc.exp
gdb/testsuite/gdb.trace/strace.exp