summaryrefslogtreecommitdiffstats
path: root/arch/mips/gt64120/momenco_ocelot/irq.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-06-11 11:48:58 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-06-11 11:48:58 +0000
commite7a2b839cb0075e1dcf6328a8afb507956e6ef9a (patch)
tree9c8552bad3ba1efcaf85190e156d93f94278888e /arch/mips/gt64120/momenco_ocelot/irq.c
parent27800b73f664481a542f23375069361c799dbbdd (diff)
Support for GDB console for the Ocelot.
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
}