aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-os9k.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-os9k.c')
-rw-r--r--gdb/remote-os9k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c
index a523c3c..a9d92b5 100644
--- a/gdb/remote-os9k.c
+++ b/gdb/remote-os9k.c
@@ -1074,7 +1074,7 @@ connect_command (args, fromtty)
do
{
FD_SET (0, &readfds);
- FD_SET (monitor_desc, &readfds);
+ FD_SET (DEPRECATED_SERIAL_FD (monitor_desc), &readfds);
numfds = select (sizeof (readfds) * 8, &readfds, 0, 0, 0);
}
while (numfds == 0);
@@ -1109,7 +1109,7 @@ connect_command (args, fromtty)
}
}
- if (FD_ISSET (monitor_desc, &readfds))
+ if (FD_ISSET (DEPRECATED_SERIAL_FD (monitor_desc), &readfds))
{
while (1)
{