aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-07-15 20:34:14 +0000
committerAndrew Cagney <cagney@redhat.com>2001-07-15 20:34:14 +0000
commit2cd58942b9bf50ccde261085d8a2b3e7ced88e5e (patch)
tree9782ed43082f4838f54567f55f29e64ed1cd3312 /gdb/ser-unix.c
parents/value_ptr/struct value */ (diff)
downloadbinutils-gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.tar.gz
binutils-gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.tar.bz2
binutils-gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.zip
* serial.h (SERIAL_ASYNC): Delete.
(DEPRECATED_SERIAL_FD): Delete. (SERIAL_DEBUG): Delete. (SERIAL_DEBUG_P): Delete. (SERIAL_DRAIN_OUTPUT): Delete. (SERIAL_FLUSH_OUTPUT): Delete. (SERIAL_FLUSH_INPUT): Delete. (SERIAL_SEND_BREAK): Delete. (SERIAL_RAW): Delete. (SERIAL_GET_TTY_STATE): Delete. (SERIAL_SET_TTY_STATE): Delete. (SERIAL_PRINT_TTY_STATE): Delete. (SERIAL_NOFLUSH_SET_TTY_STATE): Delete. (SERIAL_SETBAUDRATE): Delete. (SERIAL_SETSTOPBITS): Delete. (SERIAL_CAN_ASYNC_P): Delete. (SERIAL_IS_ASYNC_P): Delete. (SERIAL_UN_FDOPEN): Delete. (SERIAL_READCHAR): Delete. (SERIAL_CLOSE): Delete. (SERIAL_FDOPEN): Delete. (SERIAL_OPEN): Delete.
Diffstat (limited to 'gdb/ser-unix.c')
-rw-r--r--gdb/ser-unix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index e12e776d59c..f7ab28ae750 100644
--- a/gdb/ser-unix.c
+++ b/gdb/ser-unix.c
@@ -1184,7 +1184,7 @@ enum {
static void
reschedule (struct serial *scb)
{
- if (SERIAL_IS_ASYNC_P (scb))
+ if (serial_is_async_p (scb))
{
int next_state;
switch (scb->async_state)
@@ -1220,7 +1220,7 @@ reschedule (struct serial *scb)
next_state = scb->async_state;
break;
}
- if (SERIAL_DEBUG_P (scb))
+ if (serial_debug_p (scb))
{
switch (next_state)
{
@@ -1308,14 +1308,14 @@ ser_unix_async (struct serial *scb,
{
/* Force a re-schedule. */
scb->async_state = NOTHING_SCHEDULED;
- if (SERIAL_DEBUG_P (scb))
+ if (serial_debug_p (scb))
fprintf_unfiltered (gdb_stdlog, "[fd%d->asynchronous]\n",
scb->fd);
reschedule (scb);
}
else
{
- if (SERIAL_DEBUG_P (scb))
+ if (serial_debug_p (scb))
fprintf_unfiltered (gdb_stdlog, "[fd%d->synchronous]\n",
scb->fd);
/* De-schedule whatever tasks are currently scheduled. */