]> git.baikalelectronics.ru Git - uboot.git/commit
arm: print instructions pointed to by pc
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 15 May 2018 17:42:23 +0000 (19:42 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 May 2018 02:06:41 +0000 (22:06 -0400)
commit3fef41127f1c6c82ca4b2513dea6b6785fffe3f9
tree5f7426ab078c939cf1c1ea5771b85452a2b2e784
parent05e28be8e27013dae9c82822ef108844a428dcac
arm: print instructions pointed to by pc

If an exception occurs in a loaded image and the relocation offset is
unknown, it is helful to know the instructions pointed to by the
program counter. This patch adds the missing output.

A possible output is:
    Code: e1c560d0 e12fff1e e120077b e12fff1e (e7f7defb)

The parentheses indicate the instruction causing the exception.

The output can be disassembled using the decodecode script provided
by the Linux kernel project.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/lib/interrupts.c