| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | "Dorel Zamfir" <dorel_z AT ics-iq DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | RHIDE debugger fails to start on board without floating point unit |
| Date: | Wed, 20 Feb 2002 14:40:37 -0800 |
| Organization: | Intelligent Computer Solutions |
| Lines: | 75 |
| Message-ID: | <a51red$kpg$1@newstest.laserlink.net> |
| X-Trace: | newstest.laserlink.net 1014264078 21296 64.105.28.238 (21 Feb 2002 04:01:18 GMT) |
| X-Complaints-To: | abuse AT laserlink DOT net |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I am trying to develop a program to run on a 486 based ELAN SC400 processor
that does not have a floating point unit.
Even when using a small test program that does not use any floating point
types and I try to step into the first line of code, the RHIDE debugger
displays this error message,
"Program has received signal: SIGFPE, Arithmetic exception".
The program runs just fine if I run it directly from the DOS prompt (outside
of RHIDE). I have tried stepping into the first line using RHGDB, FSDB, and
GDB 5.0. They all fail to start but GDB gives more descriptive info that I
am including below.
I am running plain MS-DOS 6.22. I have 8 MB RAM installed. I am using
DJGPP v2.03 and RHIDE v1.4. I have tried
adding each of the floating point libraries (libemu.a and libwmemu) to my
project but it did not correct the issue. I also tried setting the
following lines for each library but that did not have an effect either:
set 387=N
set emu387=c:\djgpp\bin\emu387.dxe (and emu387.dxe)
Results of go32-v2 are:
DPMI memory available: 5411 Kb
DPMI swap space available: 129821 Kb
Results of GDB are:
(starting to 'run' program gives)
Program received signal SIGEMT, Emulation trap.
0x59695 in _control87 ()
(trying to nexti gives)
0x5969a in _control87 ()
(trying to nexti gives)
Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(trying to nexti gives)
Exiting due to signal SIGSEGV
General Protection Fault at eip=00000000, error=0004
eax=00000000 ebx=000671dc ecx=00000008 edx=00000004 esi=00000054
edi=0007827c
ebp=000f8170 esp=000671e0 program=C:\DJGPP\SOLO2\SOLO2.EXE
cs: sel=00e7 base=10390000 limit=000fffff
ds: sel=00ef base=10390000 limit=000fffff
es: sel=00ef base=10390000 limit=000fffff
fs: sel=00ef base=10390000 limit=000fffff
gs: sel=00ff base=00000000 limit=0010ffff
ss: sel=00ef base=10390000 limit=000fffff
App stack: [000f827c..0007827c] Exceptn stack: [000781d0..00076290]
Call frame traceback EIPs:
0x00000000
0x0004a4b1
0x0004a180
0x00049f0e
0x00059013
0x00059055
0x0000037f
0x0004a0ca
0x000546ed
Program exited with code 0377.
If anyone could explain to me what is happening and why I would greatly
appreciate it. Any info on how to correct this issue or a work around would
be very useful as I am quite stuck at this point.
Thanks,
Dorel Zamfir
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |