From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49020943.80708@domain.hid> Date: Fri, 24 Oct 2008 19:43:31 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <258091.63324.qm@domain.hid> In-Reply-To: <258091.63324.qm@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] trap exceptions in user List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gabriele Moabiti Cc: Jan Kiszka , Xenomai help Gabriele Moabiti wrote: > (...) > I consider now ManageCustomExceptions a function that do nothing. > (...) > INT 0 (divide error) or 16 (fpu exception) > The system hangs. It will not work. It is because you have to handle the exception. Otherwise, when returning to user-space, your programs tries the faulty exception again, triggers the handler, which does nothing, and loops indefinitely... -- Gilles.