summaryrefslogtreecommitdiffstats
path: root/arch/mips/gt64120/momenco_ocelot/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/gt64120/momenco_ocelot/irq.c')
-rw-r--r--arch/mips/gt64120/momenco_ocelot/irq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/gt64120/momenco_ocelot/irq.c b/arch/mips/gt64120/momenco_ocelot/irq.c
index d93b86a7b..c6c01b0d3 100644
--- a/arch/mips/gt64120/momenco_ocelot/irq.c
+++ b/arch/mips/gt64120/momenco_ocelot/irq.c
@@ -155,6 +155,9 @@ void momenco_ocelot_irq_setup(void)
printk("start kgdb ...\n");
set_debug_traps();
breakpoint(); /* you may move this line to whereever you want :-) */
+#ifdef CONFIG_GDB_CONSOLE
+ register_gdb_console();
+#endif
}
#endif
}