www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/21/15:23:36

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Thu, 21 Feb 2002 22:19:47 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Dorel Zamfir" <dorel_z AT ics-iq DOT com>
Message-Id: <7458-Thu21Feb2002221947+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <a53sd3$c58$1@newstest.laserlink.net> (dorel_z@ics-iq.com)
Subject: Re: RHIDE debugger fails to start on board without floating point unit
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020221085218 DOT 2258E-100000 AT is> <a53sd3$c58$1 AT newstest DOT laserlink DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Dorel Zamfir" <dorel_z AT ics-iq DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 21 Feb 2002 09:09:22 -0800
> 
> I don't understand why the debugger itself would require floating
> point support

I tried to explain why: the debugger doesn't know whether the program
being debugged will use floating point, so it assumes it will.
Therefore, it saves the state of the FP emulator before running the
debuggee, so that any FP instructions issued by the debuggee won't
affect the debugger.  For example, imagine that the program being
debugged changes the x87 rounding mode.

Saving the state of the FP coprocessor requires an FP instruction.

- Raw text -


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