projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked list
[binutils-gdb.git]
/
gdb
/
ser-unix.c
diff --git
a/gdb/ser-unix.c
b/gdb/ser-unix.c
index e12e776d59cacb3cb37d78f1f2ad75b0f0587b1e..f7ab28ae750d3ad0cddca1e5feec6d9c430001ec 100644
(file)
--- a/
gdb/ser-unix.c
+++ b/
gdb/ser-unix.c
@@
-1184,7
+1184,7
@@
enum {
static void
reschedule (struct serial *scb)
{
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)
{
int next_state;
switch (scb->async_state)
@@
-1220,7
+1220,7
@@
reschedule (struct serial *scb)
next_state = scb->async_state;
break;
}
next_state = scb->async_state;
break;
}
- if (
SERIAL_DEBUG_P
(scb))
+ if (
serial_debug_p
(scb))
{
switch (next_state)
{
{
switch (next_state)
{
@@
-1308,14
+1308,14
@@
ser_unix_async (struct serial *scb,
{
/* Force a re-schedule. */
scb->async_state = NOTHING_SCHEDULED;
{
/* 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
{
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. */
fprintf_unfiltered (gdb_stdlog, "[fd%d->synchronous]\n",
scb->fd);
/* De-schedule whatever tasks are currently scheduled. */