From 22582546c1833f771cea1201a75315df6dab0a34 Mon Sep 17 00:00:00 2001 From: Nils-Christian Kempke Date: Tue, 31 May 2022 16:43:44 +0200 Subject: [PATCH] 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. --- gdb/testsuite/lib/compiler.c | 2 +- gdb/testsuite/lib/compiler.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2