]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix fixed-point "return" on ARM
authorTom Tromey <tromey@adacore.com>
Wed, 20 Sep 2023 17:29:53 +0000 (11:29 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 30 Oct 2023 13:45:39 +0000 (07:45 -0600)
commita23cf0c2ece4812232cf9434bdc77fbb70ae3f6b
tree70069e09a1eb494e393d281563ee6d4cd2b16103
parent47231c30a0475092cd452d6062ed06ee904e28f8
Fix fixed-point "return" on ARM

On a big-endian ARM machine, the "return" command resulted in the
wrong value being returned when the function had a fixed-point return
type.  This patch fixes the problem by unpacking and repacking the
fixed-point type appropriately.

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