* 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 3fa2da9b9756ee8715009c356de34359ac59498f..f74569bcc73c8a5f13430a3af4f6a32c50f308f9 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