Add bit-field test for scalar_storage_order
authorTom Tromey <tromey@adacore.com>
Mon, 25 Nov 2019 20:37:15 +0000 (13:37 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 4 Dec 2019 16:31:18 +0000 (09:31 -0700)
commit4139ff008829d716830d18e8cfa8cbf5c0ae7562
treea304891f091b90fe74860cc7cca66b3ec4ee5518
parenta05cf17ab92357449ed62fa0d1bac7389ee2de09
Add bit-field test for scalar_storage_order

This adds a bit-field test for scalar_storage_order.

gdb/testsuite/ChangeLog
2019-12-04  Tom Tromey  <tromey@adacore.com>

* gdb.base/endianity.c (struct other) <x>: New field.
(main): Initialize it.
* gdb.base/endianity.exp: Update.

Change-Id: I9e07d1b3e08e7c3384832b68ef286afe1d11479a
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/endianity.c
gdb/testsuite/gdb.base/endianity.exp