summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-21 21:51:08 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-21 22:12:32 +0200
commit59a2d86f8ef6768192cc7afa4e1f87e933065292 (patch)
tree9da607c918799f2ceb78f2b78733a1fb27bccb44
parenta2952398e5de8746a761a59686619d08d376bce3 (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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kern/gdb.c b/kern/gdb.c
index 250bf8d8..44658bd2 100644
--- a/kern/gdb.c
+++ b/kern/gdb.c
@@ -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);
}