diff options
author | Stu Grossman <grossman@cygnus> | 1992-10-19 23:40:36 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-10-19 23:40:36 +0000 |
commit | 5a6242dddde4292bf2cd376372bc0f7a0f9b9cc5 (patch) | |
tree | 00629c7fe31fe6cfea9c23c7ebdc2dbcb7f9c2ad /gdb/serial.h | |
parent | d95eb93075be55937407bb52e9081468aa12494a (diff) | |
download | binutils-gdb-5a6242dddde4292bf2cd376372bc0f7a0f9b9cc5.tar.gz |
* 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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/serial.h b/gdb/serial.h index 796f2d2b8c5..5363929b022 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. */ |