aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2020-05-29 17:15:13 +0100
committerGary Benson <gbenson@redhat.com>2020-05-29 17:15:13 +0100
commit9fcafd23fa6d919f112e9a7f73e72895c2457de1 (patch)
treea7f59740c3e6cc706a9e9ec8a79ff07ae7df13b8 /gdb/testsuite/ChangeLog
parent735d5a07160bcffaa8e66d4fffecd7f333a0e1fe (diff)
downloadgdb-9fcafd23fa6d919f112e9a7f73e72895c2457de1.zip
gdb-9fcafd23fa6d919f112e9a7f73e72895c2457de1.tar.gz
gdb-9fcafd23fa6d919f112e9a7f73e72895c2457de1.tar.bz2
Fix file-not-found error with clang in gdb.arch/i386-{avx,sse}.c
Clang fails to compile two testcases with the following error: fatal error: 'nat/x86-cpuid.h' file not found This prevents the following testcases from executing: gdb.arch/i386-avx.exp gdb.arch/i386-sse.exp Both testcases set additional_flags when building with GCC. This commit causes the additional_flags to also be used when building with clang. Note that, while fixing the build, this commit reveals several new failures when using clang to build the testsuite. gdb/testsuite/ChangeLog: * gdb.arch/i386-avx.exp (additional_flags): Also set when building with clang. * gdb.arch/i386-sse.exp (additional_flags): Likewise.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r--gdb/testsuite/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ed56c81..667dbfd 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2020-05-29 Gary Benson <gbenson@redhat.com>
+ * gdb.arch/i386-avx.exp (additional_flags): Also set when
+ building with clang.
+ * gdb.arch/i386-sse.exp (additional_flags): Likewise.
+
+2020-05-29 Gary Benson <gbenson@redhat.com>
+
* gdb.cp/koenig.exp (prepare_for_testing): Add
additional_flags=-Wno-unused-comparison.
* gdb.cp/operator.exp (prepare_for_testing): Likewise.