[U-Boot] [PATCH v3 0/2] arm: print instructions pointed to by pc

Heinrich Schuchardt xypron.glpk at gmx.de
Tue May 15 17:42:22 UTC 2018


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. The first patch adds the missing output.

The second patch provides the decodecode script from the Linux kernel
which can be used to disassemble the 'Code:' line.

v3:
	use the Linux output format for the 'Code:' line

Heinrich Schuchardt (2):
  arm: print instructions pointed to by pc
  scripts: add decodecode from Linux

 arch/arm/lib/interrupts.c |  25 ++++++++
 scripts/decodecode        | 125 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 150 insertions(+)
 create mode 100755 scripts/decodecode

-- 
2.17.0



More information about the U-Boot mailing list