]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/frv/kernel/gdb-io.c
frv: extend gdbstub to support more features of gdb
[net-next-2.6.git] / arch / frv / kernel / gdb-io.c
index c997bccb9221de081e682deb916bf1c0a8e61ee5..2ca641d199f81b7eef23159bd82edf4ed1259ca3 100644 (file)
@@ -171,11 +171,11 @@ int gdbstub_rx_char(unsigned char *_ch, int nonblock)
                return -EINTR;
        }
        else if (st & (UART_LSR_FE|UART_LSR_OE|UART_LSR_PE)) {
-               gdbstub_proto("### GDB Rx Error (st=%02x) ###\n",st);
+               gdbstub_io("### GDB Rx Error (st=%02x) ###\n",st);
                return -EIO;
        }
        else {
-               gdbstub_proto("### GDB Rx %02x (st=%02x) ###\n",ch,st);
+               gdbstub_io("### GDB Rx %02x (st=%02x) ###\n",ch,st);
                *_ch = ch & 0x7f;
                return 0;
        }