aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
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 /gdb/remote-udi.c
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.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c6
1 files changed, 3 insertions, 3 deletions
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;