* pinfo.cc (status_exit): Recognize STATUS_ILLEGAL_INSTRUCTION.
(child_info::proc_retry): Ditto.
This commit is contained in:
parent
cd561fdb8b
commit
f6ba9446ed
@ -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>
|
2011-11-05 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||||
|
|
||||||
* pinfo.cc (status_exit): Return complete error code. Handle
|
* pinfo.cc (status_exit): Return complete error code. Handle
|
||||||
|
@ -140,6 +140,9 @@ status_exit (DWORD x)
|
|||||||
case STATUS_ACCESS_VIOLATION:
|
case STATUS_ACCESS_VIOLATION:
|
||||||
x = SIGSEGV;
|
x = SIGSEGV;
|
||||||
break;
|
break;
|
||||||
|
case STATUS_ILLEGAL_INSTRUCTION:
|
||||||
|
x = SIGILL;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
debug_printf ("*** STATUS_%p\n", x);
|
debug_printf ("*** STATUS_%p\n", x);
|
||||||
x = 127 << 8;
|
x = 127 << 8;
|
||||||
|
@ -960,6 +960,7 @@ child_info::proc_retry (HANDLE h)
|
|||||||
break;
|
break;
|
||||||
case STATUS_DLL_NOT_FOUND:
|
case STATUS_DLL_NOT_FOUND:
|
||||||
case STATUS_ACCESS_VIOLATION:
|
case STATUS_ACCESS_VIOLATION:
|
||||||
|
case STATUS_ILLEGAL_INSTRUCTION:
|
||||||
case STATUS_ILLEGAL_DLL_PSEUDO_RELOCATION: /* pseudo-reloc.c specific */
|
case STATUS_ILLEGAL_DLL_PSEUDO_RELOCATION: /* pseudo-reloc.c specific */
|
||||||
return exit_code;
|
return exit_code;
|
||||||
case STATUS_CONTROL_C_EXIT:
|
case STATUS_CONTROL_C_EXIT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user