]> sourceware.org Git - newlib-cygwin.git/commitdiff
* pinfo.cc (status_exit): Recognize STATUS_ILLEGAL_INSTRUCTION.
authorChristopher Faylor <me@cgf.cx>
Sat, 5 Nov 2011 18:47:39 +0000 (18:47 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 5 Nov 2011 18:47:39 +0000 (18:47 +0000)
(child_info::proc_retry): Ditto.

winsup/cygwin/ChangeLog
winsup/cygwin/pinfo.cc
winsup/cygwin/sigproc.cc

index cd9cdf5eac35f85e4c3406a9c1aed713c38372c1..cd6081340c0cc422f41a80c2a309ea973e3d7ec3 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-05  Christopher Faylor  <me.cygwin2011@cgf.cx>
+
+       * pinfo.cc (status_exit): Recognize STATUS_ILLEGAL_INSTRUCTION.
+       (child_info::proc_retry): Ditto.
+
 2011-11-05  Christopher Faylor  <me.cygwin2011@cgf.cx>
 
        * pinfo.cc (status_exit): Return complete error code.  Handle
index 83f231d64b3abc6a2f7f8d70b1e40eb73a368930..26739ddbe3f0fa21a5988926f3a40bada3debb1a 100644 (file)
@@ -140,6 +140,9 @@ status_exit (DWORD x)
     case STATUS_ACCESS_VIOLATION:
       x = SIGSEGV;
       break;
+    case STATUS_ILLEGAL_INSTRUCTION:
+      x = SIGILL;
+      break;
     default:
       debug_printf ("*** STATUS_%p\n", x);
       x = 127 << 8;
index be570c4962693eac804b03ee727e8fe420b5077d..f31081044d0395e4bf73631d7a89f08645e62dfe 100644 (file)
@@ -960,6 +960,7 @@ child_info::proc_retry (HANDLE h)
       break;
     case STATUS_DLL_NOT_FOUND:
     case STATUS_ACCESS_VIOLATION:
+    case STATUS_ILLEGAL_INSTRUCTION:
     case STATUS_ILLEGAL_DLL_PSEUDO_RELOCATION: /* pseudo-reloc.c specific */
       return exit_code;
     case STATUS_CONTROL_C_EXIT:
This page took 0.041483 seconds and 5 git commands to generate.