[Ada] arm-qnx-7.1: unwind goes wrong after regs restore
authorDoug Rupp <rupp@adacore.com>
Fri, 6 May 2022 22:28:49 +0000 (15:28 -0700)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 1 Jun 2022 08:43:19 +0000 (08:43 +0000)
commit9ba4b38f6ac6d80130808943f20011ab8855695d
treed737f765fa8f9b653f74e7158f3e4917ab26b99b
parent65818fc9550ffda7724504e38c8d2005f6c4f2ca
[Ada] arm-qnx-7.1: unwind goes wrong after regs restore

Bump the pc +3 total for Thumb mode, the same calculation that as is
done for arm-linux.

gcc/ada/

* init.c (__gnat_adjust_context_for_raise) [QNX][__thumb2__]: Bump
the pc an extra byte.
gcc/ada/init.c