]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: adjust PC displayed in exception handlers to point to the failing instruction
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 8 Jun 2017 07:52:33 +0000 (09:52 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 12 Jun 2017 12:38:39 +0000 (08:38 -0400)
commitc88823612d6ff69a64a86456eb56a9576911466b
tree7eead6bcd8baf583efa19a5589401c38a077fc61
parent53d4ed704b43a5ffbfe9784544a722edb7a7edf5
arm: adjust PC displayed in exception handlers to point to the failing instruction

Adjust the program counter register to point to the failing
instruction depending on the exeption type.
This makes it easier to localize the offending instruction leading to
a fatal exception.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
arch/arm/lib/interrupts.c