linux-mips-fnet
[Top] [All Lists]

Re: [patch] linux: Report the faulting FPU instruction

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: [patch] linux: Report the faulting FPU instruction
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Tue, 27 Nov 2001 14:20:05 +0100 (MET)
Cc: linux-mips@fnet.fr, linux-mips@oss.sgi.com
In-reply-to: <20011127121337.E2525@dea.linux-mips.net>
Organization: Technical University of Gdansk
On Tue, 27 Nov 2001, Ralf Baechle wrote:

> The problem you found in the FPU emulator is a fairly generic one.  We
> got other exception handlers which in error case will still skip over
> the instruction.  What also isn't handled properly is the case of sending
> a signal to the application.  In such a case sigreturn() should do the
> the compute_return_epc() thing ...

 Well, with break/trap 6/7 I have already noticed exception handlers tend
to call compute_return_epc() unnecessarily.  I shall be cleaning the code
gradually as time passes by...

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>