diff options
Diffstat (limited to 'gdb/gdbserver/low-sparc.c')
-rw-r--r-- | gdb/gdbserver/low-sparc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbserver/low-sparc.c b/gdb/gdbserver/low-sparc.c index 92a23ac..f3e3b0e 100644 --- a/gdb/gdbserver/low-sparc.c +++ b/gdb/gdbserver/low-sparc.c @@ -114,19 +114,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)); } |