]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
[gdb/testsuite] Introduce supports_scalar_storage_order_attribute
authorTom de Vries <tdevries@suse.de>
Sat, 19 Dec 2020 15:43:17 +0000 (16:43 +0100)
committerTom de Vries <tdevries@suse.de>
Sat, 19 Dec 2020 15:43:17 +0000 (16:43 +0100)
commit60108e47b5b16b32a62eb32c5e6f929ab2cb5cf1
tree792fc4285772135a37d3b350b38094661efbb268
parentfa639f555afbe6bf670c27d161c42974740987cb
[gdb/testsuite] Introduce supports_scalar_storage_order_attribute

Introduce support test procs:
- supports_scalar_storage_order_attribute, and
- supports_gnuc
and use them in test-case gdb.base/endianity.exp.

Tested on x86_64-linux with gcc-7.5.0, gcc-4.8.5, and clang 10.0.1.

gdb/testsuite/ChangeLog:

2020-12-19  Tom de Vries  <tdevries@suse.de>

* lib/gdb.exp (supports_scalar_storage_order_attribute)
(supports_gnuc): New proc.
* gdb.base/endianity.exp: Define TEST_SSO.  Eliminate
test_compiler_info calls.  Add unsupported message.
* gdb.base/endianity.c: Use TEST_SSO.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/endianity.c
gdb/testsuite/gdb.base/endianity.exp
gdb/testsuite/lib/gdb.exp