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" Sender: halo1 AT zahav DOT net DOT il To: "Dorel Zamfir" 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: (dorel_z@ics-iq.com) Subject: Re: RHIDE debugger fails to start on board without floating point unit References: 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 Precedence: bulk > From: "Dorel Zamfir" > 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.