Date: Wed, 18 Sep 1996 14:47:06 +0200 (IST) From: Eli Zaretskii To: Mark Habersack Cc: Ian Romanick , djgpp AT delorie DOT com Subject: Re: Debug before main? In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).