* remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
authorStu Grossman <grossman@cygnus>
Fri, 9 Apr 1993 22:14:04 +0000 (22:14 +0000)
committerStu Grossman <grossman@cygnus>
Fri, 9 Apr 1993 22:14:04 +0000 (22:14 +0000)
commit4febd10272e10062f09c8456dacd8cfe970579d8
treea62d659b1948b2e935868ae4eb45364eed913b66
parent6a42d1847267d8e1e0539a28528431617de0e70d
* remote.c (remote_open):  Use SERIAL_OPEN instead of serial_open.
(putpkt, getpkt):  Use new return codes for SERIAL_READCHAR.
* ser-go32.c:  Return -1 on most failures, 0 on most successes,
and use new return codes for go32_readchar().
* ser-unix.c:  Ditto.  Also, move error handling up to caller for
SERIAL_SETBAUDRATE().
* serial.c (serial_open):  Internal call, not SERIAL_OPEN to get
to specific routine.
(serial_close):  New routine to wrap around device close routine.
serial.h:  Clean & document return values more clearly.
gdb/ChangeLog
gdb/ser-go32.c
gdb/ser-unix.c
gdb/serial.c
gdb/serial.h