www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/18/08:11:51

Date: Wed, 18 Sep 1996 14:47:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Cc: Ian Romanick <idr AT cs DOT pdx DOT edu>, djgpp AT delorie DOT com
Subject: Re: Debug before main?
In-Reply-To: <Pine.NEB.3.95.960918125915.170H-100000@ananke.amu.edu.pl>
Message-Id: <Pine.SUN.3.91.960918144211.1273E-100000@is>
Mime-Version: 1.0

On Wed, 18 Sep 1996, Mark Habersack wrote:

> Now when I set a breakpoint on test_call() and 'run' the program, GDB
> signalled that 'Program has exited wit SIGFPE'. I thought I made a mistake
> somewhere (?) but the program was working ok from cmdline. Then it ocurred to
> me that it might be a problem with the FPU emulation. Is it?

That one's in the FAQ (section 12.9): you cannot debug programs that use 
floating point on FPU-less machines, unless you use WMEMU as your 
emulator.  In general, the DJGPP debugger support is incompatible with 
signals (the debugger gets the signals instead of the debuggee).

- Raw text -


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