mbox series

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

Message ID 20180515174224.10270-1-xypron.glpk@gmx.de
Headers show
Series arm: print instructions pointed to by pc | expand

Message

Heinrich Schuchardt May 15, 2018, 5:42 p.m. UTC
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