Propagate endianity to subrange types
authorTom Tromey <tromey@adacore.com>
Mon, 25 Nov 2019 20:04:52 +0000 (13:04 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 4 Dec 2019 16:31:18 +0000 (09:31 -0700)
commita05cf17ab92357449ed62fa0d1bac7389ee2de09
tree54ad7a79a294e521fd7987a0ff7e4ca0041acf04
parentd5a22e77b56529eade787419ea80a7e9e7d2aa6f
Propagate endianity to subrange types

A subrange type should inherit its endianity from its base type.

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

* gdbtypes.c (create_range_type): Inherit endianity
from base type.

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

* gdb.ada/scalar_storage/storage.adb: New file.
* gdb.ada/scalar_storage/pck.adb: New file.
* gdb.ada/scalar_storage/pck.ads: New file.
* gdb.ada/scalar_storage.exp: New file.

Change-Id: I2998ab919dc28aeff097763c4242f9bfb90823a3
gdb/ChangeLog
gdb/gdbtypes.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/scalar_storage.exp [new file with mode: 0644]
gdb/testsuite/gdb.ada/scalar_storage/pck.adb [new file with mode: 0644]
gdb/testsuite/gdb.ada/scalar_storage/pck.ads [new file with mode: 0644]
gdb/testsuite/gdb.ada/scalar_storage/storage.adb [new file with mode: 0644]
This page took 0.026857 seconds and 4 git commands to generate.