aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-12-01 02:51:28 +0000
committerStu Grossman <grossman@cygnus>1992-12-01 02:51:28 +0000
commit7c86126fd831e05d9915232f8f8d3c42902f306d (patch)
tree6ac6d222f1135ef254e38704b3543e0d6fd7a83b
parent63a2386abf6f671988a35255fc5c09185ccbb7b6 (diff)
downloadgdb-7c86126fd831e05d9915232f8f8d3c42902f306d.zip
gdb-7c86126fd831e05d9915232f8f8d3c42902f306d.tar.gz
gdb-7c86126fd831e05d9915232f8f8d3c42902f306d.tar.bz2
* remote-udi.c (udi_wait): Don't stop if TIP says that remote is
still running.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-udi.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9a51cf2..e3bad5a 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 9615112..f731d9e 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;