X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fser-base.c;h=fb6f4e056ad5fe5da72693ca529c783dd89080c8;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=2bfe82b22fb115d4b026a6fc0f6c98516f4a549a;hpb=a75868f50ba72e9aa906702ae038fa29feda7743;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ser-base.c b/gdb/ser-base.c index 2bfe82b22f..fb6f4e056a 100644 --- a/gdb/ser-base.c +++ b/gdb/ser-base.c @@ -1,6 +1,6 @@ /* Generic serial interface functions. - Copyright (C) 1992-2017 Free Software Foundation, Inc. + Copyright (C) 1992-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -20,10 +20,10 @@ #include "defs.h" #include "serial.h" #include "ser-base.h" -#include "event-loop.h" +#include "gdbsupport/event-loop.h" -#include "gdb_select.h" -#include "gdb_sys_time.h" +#include "gdbsupport/gdb_select.h" +#include "gdbsupport/gdb_sys_time.h" #ifdef USE_WIN32API #include #endif @@ -46,7 +46,7 @@ enum { /* >= 0 (TIMER_SCHEDULED) */ /* The ID of the currently scheduled timer event. This state is rarely encountered. Timer events are one-off so as soon as the - event is delivered the state is shanged to NOTHING_SCHEDULED. */ + event is delivered the state is changed to NOTHING_SCHEDULED. */ FD_SCHEDULED = -1, /* The fd_event() handler is scheduled. It is called when ever the file descriptor becomes ready. */ @@ -191,7 +191,7 @@ fd_event (int error, void *context) /* PUSH_EVENT: The input FIFO is non-empty (or there is a pending error). Nag the client until all the data has been read. In the case of errors, the client will need to close or de-async the - device before naging stops. */ + device before nagging stops. */ static void push_event (void *context) @@ -551,14 +551,6 @@ ser_base_set_tty_state (struct serial *scb, serial_ttystate ttystate) return 0; } -int -ser_base_noflush_set_tty_state (struct serial *scb, - serial_ttystate new_ttystate, - serial_ttystate old_ttystate) -{ - return 0; -} - void ser_base_print_tty_state (struct serial *scb, serial_ttystate ttystate,