aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-29 16:09:44 +0200
committerTom de Vries <tdevries@suse.de>2023-03-29 16:09:44 +0200
commitf6424be55482c4e8e6d482e04f1fb8408191d702 (patch)
tree946fbb23ccabe5e68311a112e116a395fdcbbd2a
parentf8c88b623130037546842a51beb78c66c644e05d (diff)
downloadbinutils-f6424be55482c4e8e6d482e04f1fb8408191d702.zip
binutils-f6424be55482c4e8e6d482e04f1fb8408191d702.tar.gz
binutils-f6424be55482c4e8e6d482e04f1fb8408191d702.tar.bz2
[gdb/testsuite] Require gnatmake 11 for gdb.ada/verylong.exp
With test-case gdb.ada/verylong.exp and gnatmake 7.5.0 I run into: ... compilation failed: gcc ... $src/gdb/testsuite/gdb.ada/verylong/prog.adb prog.adb:16:11: warning: file name does not match unit name, should be "main.adb" prog.adb:17:08: "Long_Long_Long_Integer" is undefined (more references follow) gnatmake: "prog.adb" compilation error FAIL: gdb.ada/verylong.exp: compilation prog.adb ... AFAICT, support for Long_Long_Long_Integer was added in gcc 11. Fix this by requiring gnatmake version 11 or higher in the test-case. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/gdb.ada/verylong.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/verylong.exp b/gdb/testsuite/gdb.ada/verylong.exp
index 93df785..498ab6d 100644
--- a/gdb/testsuite/gdb.ada/verylong.exp
+++ b/gdb/testsuite/gdb.ada/verylong.exp
@@ -16,6 +16,7 @@
load_lib "ada.exp"
require allow_ada_tests
+require {gnatmake_version_at_least 11}
standard_ada_testfile prog