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>
This commit is contained in:

committed by
Vineet Gupta

parent
2e651ea159
commit
f46121bd26
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user