diff options
author | Mischa Jonker <mjonker@synopsys.com> | 2013-01-18 10:42:24 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 18:46:07 +0100 |
commit | f46121bd26d7957866739313f1e098a682e8d3e4 (patch) | |
tree | 1469839dbb041f325d01428e973e637f3297595e /arch/arc/kernel/traps.c | |
parent | ARC: Unaligned access emulation (diff) | |
download | linux-f46121bd26d7957866739313f1e098a682e8d3e4.tar.xz linux-f46121bd26d7957866739313f1e098a682e8d3e4.zip |
ARC: kgdb support
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'arch/arc/kernel/traps.c')
-rw-r--r-- | arch/arc/kernel/traps.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arc/kernel/traps.c b/arch/arc/kernel/traps.c index ec802c52a1ca..7496995371e8 100644 --- a/arch/arc/kernel/traps.c +++ b/arch/arc/kernel/traps.c @@ -20,6 +20,7 @@ #include <asm/setup.h> #include <asm/kprobes.h> #include <asm/unaligned.h> +#include <asm/kgdb.h> void __init trap_init(void) { @@ -141,6 +142,11 @@ void do_non_swi_trap(unsigned long cause, unsigned long address, trap_is_kprobe(param, address, regs); break; + case 3: + case 4: + kgdb_trap(regs, param); + break; + default: break; } |