gdb/arm: fix IPSR field test in arm_m_exception_cache ()
authorLuis Machado <luis.machado@arm.com>
Wed, 26 Oct 2022 12:00:17 +0000 (13:00 +0100)
committerLuis Machado <luis.machado@arm.com>
Wed, 26 Oct 2022 12:00:17 +0000 (13:00 +0100)
commitb2e9e754e122d97511bbd6b990e38a23dafb6176
treed9a7b718b8d4aaf9097c9e88cba9c93008453cc5
parent8b73ee207c9c4b2d692a82a29d1cee2dcfa07394
gdb/arm: fix IPSR field test in arm_m_exception_cache ()

Arm v8-M Architecture Reference Manual,
D1.2.141 IPSR, Interrupt Program Status Register reads
"Exception, bits [8:0]"

9 bits, not 8! It is uncommon but true!

Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
gdb/arm-tdep.c