diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-03-21 11:35:42 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-03-21 11:35:42 -0400 |
commit | 0e7b8f61069f1219ca53a9dd927ba55c9a7eefd4 (patch) | |
tree | daf75f2f3b968bdc44a270b5130a7a14dc413241 /gdb/ser-mingw.c | |
parent | 2253c8f089193b90141e08436417bc8ea1dd6015 (diff) | |
download | gdb-0e7b8f61069f1219ca53a9dd927ba55c9a7eefd4.zip gdb-0e7b8f61069f1219ca53a9dd927ba55c9a7eefd4.tar.gz gdb-0e7b8f61069f1219ca53a9dd927ba55c9a7eefd4.tar.bz2 |
Remove remaining reference to struct serial::current_timeout
I get this when trying to build for --host=x68_64-w64-mingw32:
/home/emaisin/src/binutils-gdb/gdb/ser-mingw.c: In function 'void ser_windows_raw(serial*)':
/home/emaisin/src/binutils-gdb/gdb/ser-mingw.c:166:8: error: 'struct serial' has no member named 'current_timeout'
scb->current_timeout = 0;
^~~~~~~~~~~~~~~
It is just a leftover from
9bcbdca808b5f9fec6217d20bd4b48a56008c460
PR remote/21188: Fix remote serial timeout
gdb/ChangeLog:
* ser-mingw.c (ser_windows_raw): Remove reference to
struct serial::current_timeout.
Diffstat (limited to 'gdb/ser-mingw.c')
-rw-r--r-- | gdb/ser-mingw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c index 0f2bc3d..3f12458 100644 --- a/gdb/ser-mingw.c +++ b/gdb/ser-mingw.c @@ -163,8 +163,6 @@ ser_windows_raw (struct serial *scb) state.fAbortOnError = FALSE; state.ByteSize = 8; - scb->current_timeout = 0; - if (SetCommState (h, &state) == 0) warning (_("SetCommState failed")); } |