Mail Archives: djgpp/1996/05/13/04:55:11
Xref: | news2.mv.net comp.os.msdos.djgpp:3761
|
From: | "<Your name goes here>" <\<Your.email.address.goes.here\>>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Newbie problem
|
Date: | 11 May 1996 06:30:37 GMT
|
Organization: | The Anderson School, UCLA
|
Lines: | 31
|
Message-ID: | <4n1c6d$mmr@risc.agsm.ucla.edu>
|
NNTP-Posting-Host: | comserv1-15.agsm.ucla.edu
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi there!
I've been running DJGPP v.2 on a 120 mhz Dell Pentium machine with 64 megs
of memory and lots of hard disc. I tried porting a program that
worked under UNIX. It behaves rather strangely running in DJGPP under Windows (3.1.1).
I stubedited the .exe file to allow for a minimum stack of 2 megs.
When I run the program by itself (in a terminal window under windows 3.1), I
get the following response (after running symify):
Exiting due to signal SIGFPE
Floating Point exception at eip=000292fc
eax=0032d9cc ebx=00000004 ecx=00331a00 edx=0000006c esi=0000006c edi=00000004
ebp=0032d9cc esp=0032c614 cs=00af ds=00b7 es=00b7 fs=008f ss=00b7
Call frame traceback EIP's:
0x000292fc __doprnt+1432
0x00026a75 _fprintf +105
0x00023ea2 _dotab+614, line 1568 of lpxaux.c
....(more of my functions here)
When I run it under gdb, it works just fine. Does gdb handle floating point exceptions
in some special way.>
Any suggestions would be helpful.
John Mamer
jmamer AT agsm DOT ucla DOT edu
- Raw text -