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

Alexander Graf agraf at suse.de
Thu May 24 08:54:07 UTC 2018



On 15.05.18 19:42, Heinrich Schuchardt wrote:
> 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 at gmx.de>

This is even better than my suggestion. Aweseome ;).

Reviewed-by: Alexander Graf <agraf at suse.de>


Alex



More information about the U-Boot mailing list