* remote-udi.c (udi_wait): Return inferior_pid not 0.
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 14 Sep 1993 16:19:30 +0000 (16:19 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 14 Sep 1993 16:19:30 +0000 (16:19 +0000)
gdb/remote-udi.c

index 3fa2da9..f74569b 100644 (file)
@@ -583,7 +583,7 @@ udi_wait (status)
 
   timeout = old_timeout;       /* Restore original timeout value */
   immediate_quit = old_immediate_quit;
-  return 0;
+  return inferior_pid;
 }
 
 /********************************************************** UDI_FETCH_REGISTERS