[PATCH] scripts: add ARM support to decodecode

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jan 1 15:32:42 EST 2010


On Wed, Dec 30, 2009 at 08:23:59PM +0530, Rabin Vincent wrote:
> This patch adds support for decoding ARM oopses to scripts/decodecode.
> The following things are handled:
> 
>  - ARCH and CROSS_COMPILE environment variables are respected.
> 
>  - The Code: in x86 oopses is in bytes, while it is in either words (4
>    bytes) or halfwords for ARM.
> 
>  - Some versions of ARM objdump refuse to disassemble instructions
>    generated by literal constants (".word 0x...").  The workaround is to
>    strip the object file first.
> 
>  - The faulting instruction is marked (liked so) in ARM, but <like so>
>    in x86.

I've been debating about changing that so we use () instead of <> to
make things more consistent, but I've been holding off in case there's
still any ksymoops users out there.  Opinions?



More information about the linux-arm-kernel mailing list