diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-11-26 00:31:03 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:43:49 -0500 |
commit | 9cfc9a9b6fff9ea7a19814b4472b3cb18b7bbdcc (patch) | |
tree | 77642d2de899df449e70fb4e830ee02e738ca4e2 /arch/sh/kernel/Makefile_32 | |
parent | edfd6da0405520b147ab1473ad183a5b32be7082 (diff) |
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>
Diffstat (limited to 'arch/sh/kernel/Makefile_32')
-rw-r--r-- | arch/sh/kernel/Makefile_32 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/kernel/Makefile_32 b/arch/sh/kernel/Makefile_32 index 76fcac1596ce..d3f2726b07dc 100644 --- a/arch/sh/kernel/Makefile_32 +++ b/arch/sh/kernel/Makefile_32 | |||
@@ -9,9 +9,10 @@ ifdef CONFIG_FUNCTION_TRACER | |||
9 | CFLAGS_REMOVE_ftrace.o = -pg | 9 | CFLAGS_REMOVE_ftrace.o = -pg |
10 | endif | 10 | endif |
11 | 11 | ||
12 | obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_32.o \ | 12 | obj-y := debugtraps.o disassemble.o io.o io_generic.o irq.o \ |
13 | ptrace_32.o setup.o signal_32.o sys_sh.o sys_sh32.o \ | 13 | machvec.o process_32.o ptrace_32.o setup.o signal_32.o \ |
14 | syscalls_32.o time_32.o topology.o traps.o traps_32.o | 14 | sys_sh.o sys_sh32.o syscalls_32.o time_32.o topology.o \ |
15 | traps.o traps_32.o | ||
15 | 16 | ||
16 | obj-y += cpu/ timers/ | 17 | obj-y += cpu/ timers/ |
17 | obj-$(CONFIG_VSYSCALL) += vsyscall/ | 18 | obj-$(CONFIG_VSYSCALL) += vsyscall/ |