|
@@ -237,7 +237,8 @@ static void bfin_serial_rx_chars(struct bfin_serial_port *uart)
|
|
|
|
|
|
#if defined(CONFIG_KGDB_SERIAL_CONSOLE) || \
|
|
#if defined(CONFIG_KGDB_SERIAL_CONSOLE) || \
|
|
defined(CONFIG_KGDB_SERIAL_CONSOLE_MODULE)
|
|
defined(CONFIG_KGDB_SERIAL_CONSOLE_MODULE)
|
|
- if (kgdb_connected && kgdboc_port_line == uart->port.line)
|
|
|
|
|
|
+ if (kgdb_connected && kgdboc_port_line == uart->port.line
|
|
|
|
+ && kgdboc_break_enabled)
|
|
if (ch == 0x3) {/* Ctrl + C */
|
|
if (ch == 0x3) {/* Ctrl + C */
|
|
kgdb_breakpoint();
|
|
kgdb_breakpoint();
|
|
return;
|
|
return;
|