From: Andris Organization: Pavenis To: djgpp AT delorie DOT com, "Rafal 'Raf256' Maj" Subject: Re: SIGALRM signal handler doesn't save FPU state Date: Wed, 11 Sep 2002 06:48:20 +0300 User-Agent: KMail/1.4.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Disposition: inline Message-Id: <200209110648.20143.pavenis@lanet.lv> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g8B6kLl03285 Reply-To: djgpp AT delorie DOT com Viestissä Tiistai 10 Syyskuu 2002 20:25, Rafal 'Raf256' Maj kirjoitti: > "Lawrence Rust" wrote in > news:q78f9.1851$Yc7 DOT 106506 AT newsfep2-gui > > > I've added some inline assembler (fnsave/frstor) around my signal > > handler to solve this. Perhaps the FAQ could be updated to include > > this info or even better if libc could include this for async signals. > > Can You please share this code - best with some example ? > TIA :) I think You can look in dbgcom.c inside djlsr203.zip as saving FPU status is used while switching between debugger and user program being debugged. Andris