summaryrefslogtreecommitdiff
path: root/gdb/remote-st.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-09-22 03:28:34 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-09-22 03:28:34 +0000
commit3f58899ae80421eb6d2ed3d0d2329986f6e77c66 (patch)
treeef3cd06b12eee7b8d002704a5cf4fecea06a643d /gdb/remote-st.c
parentff49b98273f2bad8ff6ec338eee32c6d90113d05 (diff)
downloadgdb-3f58899ae80421eb6d2ed3d0d2329986f6e77c66.tar.gz
import gdb-1999-09-21
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r--gdb/remote-st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c
index 3400903503f..1d270a44a24 100644
--- a/gdb/remote-st.c
+++ b/gdb/remote-st.c
@@ -729,7 +729,7 @@ connect_command (args, fromtty)
do
{
FD_SET (0, &readfds);
- FD_SET (st2000_desc, &readfds);
+ FD_SET (DEPRECATED_SERIAL_FD (st2000_desc), &readfds);
numfds = select (sizeof (readfds) * 8, &readfds, 0, 0, 0);
}
while (numfds == 0);
@@ -764,7 +764,7 @@ connect_command (args, fromtty)
}
}
- if (FD_ISSET (st2000_desc, &readfds))
+ if (FD_ISSET (DEPRECATED_SERIAL_FD (st2000_desc), &readfds))
{
while (1)
{