aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-10-19 23:40:36 +0000
committerStu Grossman <grossman@cygnus>1992-10-19 23:40:36 +0000
commit5a6242dddde4292bf2cd376372bc0f7a0f9b9cc5 (patch)
tree00629c7fe31fe6cfea9c23c7ebdc2dbcb7f9c2ad /gdb/serial.h
parentd95eb93075be55937407bb52e9081468aa12494a (diff)
downloadgdb-5a6242dddde4292bf2cd376372bc0f7a0f9b9cc5.zip
gdb-5a6242dddde4292bf2cd376372bc0f7a0f9b9cc5.tar.gz
gdb-5a6242dddde4292bf2cd376372bc0f7a0f9b9cc5.tar.bz2
* remote-hms.c, ser-go32.c, serial.h: Change from
serial_timedreadchar() to new serial_readchar().
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 796f2d2..5363929 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -56,9 +56,9 @@ void serial_raw PARAMS ((int fd, struct ttystate *oldstate));
void serial_normal PARAMS ((void));
/* Read one char from the serial device with <TO>-second timeout.
- Return char, and set ok if ok. */
+ Returns char if ok, else EOF, -2 for timeout, -3 for anything else */
-int serial_timedreadchar PARAMS ((int to, int *ok));
+int serial_readchar PARAMS ((int to));
/* Set the baudrate to the decimal value supplied, and return 1, or fail and
return 0. */