From 9704b8b4bc58f4f464961cca97d362fd33740ce8 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 9 Jun 2022 16:45:48 +0100 Subject: 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. --- gdb/testsuite/gdb.arch/i386-byte.exp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/testsuite/gdb.arch/i386-byte.exp') diff --git a/gdb/testsuite/gdb.arch/i386-byte.exp b/gdb/testsuite/gdb.arch/i386-byte.exp index 30bb561..f29d54e 100644 --- a/gdb/testsuite/gdb.arch/i386-byte.exp +++ b/gdb/testsuite/gdb.arch/i386-byte.exp @@ -26,10 +26,6 @@ if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"])} then { standard_testfile i386-pseudo.c -if [get_compiler_info] { - return -1 -} - if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug]] != "" } { untested "failed to compile" return -- cgit v1.1