lkml.org 
[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Undefined Instruction
On Wed, 2 Nov 2011, Xin Tong wrote:

> If an application contains an undefined instruction to the processor (
> x86 in particular ) how does the operating system handle it. does the
> operating system just kill the process, or it will throw signals,
> trying to recover from it ?

CPU will trap and kernel will send SIGILL to the process.

--
Jiri Kosina
SUSE Labs



\
 
 \ /
  Last update: 2011-11-02 22:11    [from the cache]
©2003-2011 Jasper Spaans