* gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
[binutils-gdb.git] / gdb / gdbserver / low-sun3.c
index b61f90e15b10ce8d07caeccd50979e0ae316092b..21207e60ebd75c20239607a5983dea7cd16b82f6 100644 (file)
@@ -111,19 +111,19 @@ mywait (status)
   if (WIFEXITED (w))
     {
       fprintf (stderr, "\nChild exited with retcode = %x \n", WEXITSTATUS (w));
-      *status = 'E';
+      *status = 'W';
       return ((unsigned char) WEXITSTATUS (w));
     }
   else if (!WIFSTOPPED (w))
     {
       fprintf (stderr, "\nChild terminated with signal = %x \n", WTERMSIG (w));
-      *status = 'T';
+      *status = 'X';
       return ((unsigned char) WTERMSIG (w));
     }
 
   fetch_inferior_registers (0);
 
-  *status = 'S';
+  *status = 'T';
   return ((unsigned char) WSTOPSIG (w));
 }