[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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

 \ /
  Last update: 2011-11-02 22:11    [W:0.041 / U:10.952 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site