OSDN Git Service

* win32-low.c (win32_wait): Don't use WSTOPSIG.
authorPedro Alves <pedro@codesourcery.com>
Thu, 10 May 2007 20:25:01 +0000 (20:25 +0000)
committerPedro Alves <pedro@codesourcery.com>
Thu, 10 May 2007 20:25:01 +0000 (20:25 +0000)
gdb/gdbserver/ChangeLog
gdb/gdbserver/win32-low.c

index 66a0644..ef79d0e 100644 (file)
@@ -1,3 +1,7 @@
+2007-05-10  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * win32-low.c (win32_wait): Don't use WSTOPSIG.
+
 2007-03-30  Pedro Alves  <pedro_alves@portugalmail.pt>
 
        * win32-low.c: Commit leftover changes from 2007-03-29.
index 568b3ae..a0380ca 100644 (file)
@@ -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';