* serial.h (struct serial_ops): Document read_prim to return zero
authorJim Blandy <jimb@codesourcery.com>
Fri, 12 Oct 2007 20:14:57 +0000 (20:14 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 12 Oct 2007 20:14:57 +0000 (20:14 +0000)
commitd41ebd5d4581711edf913325b602d70dbf98bc51
treeb5e47739d34026984b6f9824cbdb68006913b71b
parente03748586c49e8ad61ee2e4103668eb4ba3fc0e3
* serial.h (struct serial_ops): Document read_prim to return zero
at EOF.
* ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when
read_prim returns zero, not SERIAL_TIMEOUT.
gdb/ChangeLog
gdb/ser-base.c
gdb/serial.h