From 7c86126fd831e05d9915232f8f8d3c42902f306d Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Tue, 1 Dec 1992 02:51:28 +0000 Subject: [PATCH] * remote-udi.c (udi_wait): Don't stop if TIP says that remote is still running. --- gdb/ChangeLog | 5 +++++ gdb/remote-udi.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9a51cf2e69..e3bad5aa94 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 30 18:46:58 1992 Stu Grossman (grossman at cygnus.com) + + * remote-udi.c (udi_wait): Don't stop if TIP says that remote is + still running. + Mon Nov 30 12:00:25 1992 Fred Fish (fnf@cygnus.com) * tm-sun4sol2.h: Add CPLUS_MARKER. Solaris 2.0 requires '.' diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 9615112c8e..f731d9ea5f 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -507,6 +507,9 @@ udi_wait (status) printf("DEBUG: stdin requested ... continue\n"); /* UDIPutStdin(sbuf, (UDISizeT)i, &CountDone); */ continue; + case UDIRunning: + /* In spite of the fact that we told UDIWait to wait forever, it will + return spuriously sometimes. */ case UDIStdinModeX: continue; default: @@ -575,9 +578,6 @@ udi_wait (status) case UDINotExecuting: WSETSTOP ((*status), SIGTERM); break; - case UDIRunning: - WSETSTOP ((*status), SIGILL); - break; case UDIStopped: WSETSTOP ((*status), SIGTSTP); break;