From: Pedro Alves Date: Thu, 10 May 2007 20:25:01 +0000 (+0000) Subject: * win32-low.c (win32_wait): Don't use WSTOPSIG. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f72f3e600b6c364a35c25fd4dd7ef409447da39a;p=binutils-gdb.git * win32-low.c (win32_wait): Don't use WSTOPSIG. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 66a0644ec00..ef79d0e1353 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2007-05-10 Pedro Alves + + * win32-low.c (win32_wait): Don't use WSTOPSIG. + 2007-03-30 Pedro Alves * win32-low.c: Commit leftover changes from 2007-03-29. diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index 568b3ae6b9d..a0380ca1bac 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -1092,13 +1092,8 @@ win32_wait (char *status) } else if (our_status.kind == TARGET_WAITKIND_STOPPED) { -#ifndef __MINGW32CE__ - OUTMSG2 (("Child Stopped with signal = %x \n", - WSTOPSIG (our_status.value.sig))); -#else - OUTMSG2 (("Child Stopped with signal = %x \n", + OUTMSG2 (("Child Stopped with signal = %d \n", our_status.value.sig)); -#endif *status = 'T';