From: Nils-Christian Kempke Date: Tue, 31 May 2022 14:43:44 +0000 (+0200) Subject: gdb/testsuite: rename intel next gen c/cpp compilers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22582546c1833f771cea1201a75315df6dab0a34;p=binutils-gdb.git gdb/testsuite: rename intel next gen c/cpp compilers The name for icx and icpx in the testsuite was earlier set to 'intel-*' by the compiler identification. This commit changes this to 'icx-*'. Note, that currently these names are not used within the testsuite so no tests have to be adapted here. --- diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c index 451cae38312..86140f8c0e7 100644 --- a/gdb/testsuite/lib/compiler.c +++ b/gdb/testsuite/lib/compiler.c @@ -75,5 +75,5 @@ set total_length [string length __clang_version__] set version_start_index [string last "(" __clang_version__] set version_string [string range __clang_version__ $version_start_index+5 $total_length-2] set version_updated_string [string map {. -} $version_string] -set compiler_info "intel-$version_updated_string" +set compiler_info "icx-$version_updated_string" #endif diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc index 1dfefee057d..a52e81c2e3e 100755 --- a/gdb/testsuite/lib/compiler.cc +++ b/gdb/testsuite/lib/compiler.cc @@ -63,5 +63,5 @@ set total_length [string length __clang_version__] set version_start_index [string last "(" __clang_version__] set version_string [string range __clang_version__ $version_start_index+5 $total_length-2] set version_updated_string [string map {. -} $version_string] -set compiler_info "intel-$version_updated_string" +set compiler_info "icx-$version_updated_string" #endif