diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-21 21:51:08 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-21 22:12:32 +0200 |
commit | 59a2d86f8ef6768192cc7afa4e1f87e933065292 (patch) | |
tree | 9da607c918799f2ceb78f2b78733a1fb27bccb44 | |
parent | a2952398e5de8746a761a59686619d08d376bce3 (diff) |
kern/gdb: fix use of comcngetcmaster-gdb_stubs
* kern/gdb.c (getDebugChar): Fix use of comcngetc, wait is merely a
switch, not a timeout.
-rw-r--r-- | kern/gdb.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -28,10 +28,9 @@ void putDebugChar(int character) /** * getDebugChar gets a character over the serial port * for the GDB stub. Its prototyped in stub-i386.c. - * It uses */ -int getDebugChar() +int getDebugChar() { - return comcngetc(0, 10); + return comcngetc(0, TRUE); } |