projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* serial.h (struct serial_ops): Document read_prim to return zero
[deliverable/binutils-gdb.git]
/
gdb
/
ser-base.c
diff --git
a/gdb/ser-base.c
b/gdb/ser-base.c
index f0f5b575dfb78dc84da418e954ce165be026b6b8..8fdfd254611dcf062b01540402a35371288ad38e 100644
(file)
--- a/
gdb/ser-base.c
+++ b/
gdb/ser-base.c
@@
-279,9
+279,7
@@
do_ser_base_readchar (struct serial *scb, int timeout)
if (status <= 0)
{
if (status == 0)
- /* 0 chars means timeout. (We may need to distinguish between EOF
- & timeouts someday.) */
- return SERIAL_TIMEOUT;
+ return SERIAL_EOF;
else
/* Got an error from read. */
return SERIAL_ERROR;
This page took
0.024382 seconds
and
4
git commands to generate.