]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Add a simple code dumper for SUPERH32 show_regs().
authorPaul Mundt <lethal@linux-sh.org>
Wed, 26 Nov 2008 05:31:03 +0000 (14:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:43:49 +0000 (18:43 +0900)
commit9cfc9a9b6fff9ea7a19814b4472b3cb18b7bbdcc
tree77642d2de899df449e70fb4e830ee02e738ca4e2
parentedfd6da0405520b147ab1473ad183a5b32be7082
sh: Add a simple code dumper for SUPERH32 show_regs().

This implements a simple show_code() that is in turn plugged in to
show_regs() to provide minimal code dumping at the end of the trace.

Built on top of a simple instruction disassembler derived from the
binutils opcode table.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/processor_32.h
arch/sh/kernel/Makefile_32
arch/sh/kernel/disassemble.c [new file with mode: 0644]
arch/sh/kernel/process_32.c