delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/11/04:26:28

From: Andris <pavenis AT lanet DOT lv>
Organization: Pavenis
To: djgpp AT delorie DOT com, "Rafal 'Raf256' Maj" <rafal AT raf256 DOT com>
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: <q78f9.1851$Yc7 DOT 106506 AT newsfep2-gui> <Xns9285C4F29EBBAraf256com AT 213 DOT 180 DOT 128 DOT 20>
In-Reply-To: <Xns9285C4F29EBBAraf256com@213.180.128.20>
MIME-Version: 1.0
Message-Id: <200209110648.20143.pavenis@lanet.lv>
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" <lvr AT nospam DOT softsystem DOT co DOT uk> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019