mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* 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>
|
||||
|
||||
* pinfo.cc (status_exit): Return complete error code. Handle
|
||||
|
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user