* pinfo.cc (status_exit): Recognize STATUS_ILLEGAL_INSTRUCTION.

(child_info::proc_retry): Ditto.
This commit is contained in:
Christopher Faylor 2011-11-05 18:47:39 +00:00
parent cd561fdb8b
commit f6ba9446ed
3 changed files with 9 additions and 0 deletions

View 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

View 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;

View 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: