.. | .. |
---|
50 | 50 | * I/O utilities that messages sent to the console will automatically |
---|
51 | 51 | * be displayed on the dbg_io. |
---|
52 | 52 | */ |
---|
53 | | - dbg_io_ops->is_console = true; |
---|
| 53 | + dbg_io_ops->cons = co; |
---|
54 | 54 | |
---|
55 | 55 | return 0; |
---|
56 | 56 | } |
---|
.. | .. |
---|
118 | 118 | int c = -1; |
---|
119 | 119 | const char *magic = kgdb_nmi_magic; |
---|
120 | 120 | size_t m = strlen(magic); |
---|
121 | | - bool printch = 0; |
---|
| 121 | + bool printch = false; |
---|
122 | 122 | |
---|
123 | 123 | c = dbg_io_ops->read_char(); |
---|
124 | 124 | if (c == NO_POLL_CHAR) |
---|
.. | .. |
---|
130 | 130 | n = (n + 1) % m; |
---|
131 | 131 | if (!n) |
---|
132 | 132 | return 1; |
---|
133 | | - printch = 1; |
---|
| 133 | + printch = true; |
---|
134 | 134 | } else { |
---|
135 | 135 | n = 0; |
---|
136 | 136 | } |
---|