Fix range-type "return" command on ARM
authorTom Tromey <tromey@adacore.com>
Wed, 20 Sep 2023 16:04:12 +0000 (10:04 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 30 Oct 2023 13:45:39 +0000 (07:45 -0600)
commit47231c30a0475092cd452d6062ed06ee904e28f8
treee6bd288b48fa2933ef9aafa250ca5aaeee313bb4
parenta0bfd1bfa6e7ecdf67bbf11defeb821d9c63e8ef
Fix range-type "return" command on ARM

On big-endian ARM, "return"ing from a function that returned a range
type did not work.  This patch strips the range type to treat the
function as though it were returning the underlying type instead.

Approved-By: Luis Machado <luis.machado@arm.com>
gdb/arm-tdep.c