forked from Imagelibrary/binutils-gdb
import gdb-1999-09-21
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user