Fix "finish" with range types on ARM
authorTom Tromey <tromey@adacore.com>
Wed, 20 Sep 2023 13:50:58 +0000 (07:50 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 30 Oct 2023 13:45:39 +0000 (07:45 -0600)
commitb4b9074dc0dfab4fb00562b359315d78b09a1564
treedd20e8cdfe6cbba2c847f4bf852d8e9daf5d3496
parent8942e52e2511cedc3fc1ce574e526ce4e6b7a6ef
Fix "finish" with range types on ARM

On ARM (I tested big-endian but it may not matter), "finish" can
sometimes print the wrong result when the return type is a range type.
Range types should really be treated as their underlying type
(normally integer, but sometimes fixed-point).  This patch implements
this.

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