Mail Archives: djgpp-workers/2001/01/22/12:32:11
According to Eli Zaretskii:
> Are these the only SIGEMTs, or are there others? If there are others,
> please type "bt" after each one, and see what that shows.
>
> If each SIGEMT originates in the debuggee, like this one, then there's
> no problem here (unlike what I wrote in my previous message): GDB
> always stops the debuggee when some signal happens, unless you tell it
> not to stop, with "handle SIGfoo nostop". The only issue to consider
> here is whether it is appropriate to make SIGEMT be nostop noprint by
> default when there's no FPU. I will sleep on this.
Well it seems gdb can go into loop if I insist on "n":
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-msdosdjgpp"...
-> br main
Breakpoint 1 at 0x1a64: file analyse_ints.c, line 129.
-> r
Program received signal SIGEMT, Emulation trap.
0x5535 in _control87 ()
-> bt
#0 0x5535 in _control87 ()
#1 0x2ec3 in _npxsetup ()
#2 0x3337 in __crt1_startup ()
-> c
Program received signal SIGEMT, Emulation trap.
0x554f in _control87 ()
-> bt
#0 0x554f in _control87 ()
#1 0x2ec3 in _npxsetup ()
#2 0x3337 in __crt1_startup ()
-> c
Breakpoint 1, main (argc=1, argv=0x905d4) at analyse_ints.c:129
129 if( argc != 2)
-> bt
#0 main (argc=1, argv=0x905d4) at analyse_ints.c:129
#1 0x3368 in __crt1_startup ()
-> n
Exiting due to signal SIGFPE
Coprocessor Error at eip=00001a64, x87 status=
Program received signal SIGEMT, Emulation trap.
0x9611 in _status87 ()
-> bt
#0 0x9611 in _status87 ()
#1 0x47da in do_faulting_finish_message ()
#2 0x4d13 in __djgpp_traceback_exit ()
#3 0x4da0 in raise ()
#4 0x2c3a in nofpsig ()
#5 0x4daa in raise ()
#6 0x4e07 in __djgpp_exception_processor ()
#7 0x1 in ?? ()
#8 0x3368 in __crt1_startup ()
-> n
Single stepping until exit from function _status87,
which has no line number information.
Exiting due to signal SIGFPE
Coprocessor Error at eip=00009616, x87 status=
Program received signal SIGEMT, Emulation trap.
0x9611 in _status87 ()
-> bt
#0 0x9611 in _status87 ()
#1 0x47da in do_faulting_finish_message ()
#2 0x4d13 in __djgpp_traceback_exit ()
#3 0x4da0 in raise ()
#4 0x2c3a in nofpsig ()
#5 0x4daa in raise ()
#6 0x4e07 in __djgpp_exception_processor ()
#7 0xc1 in ?? ()
#8 0x4d13 in __djgpp_traceback_exit ()
#9 0x4da0 in raise ()
#10 0x2c3a in nofpsig ()
#11 0x4daa in raise ()
#12 0x4e07 in __djgpp_exception_processor ()
#13 0x1 in ?? ()
#14 0x3368 in __crt1_startup ()
-> n
Single stepping until exit from function _status87,
which has no line number information.
Exiting due to signal SIGFPE
Coprocessor Error at eip=00009616, x87 status=
Program received signal SIGEMT, Emulation trap.
0x9611 in _status87 ()
-> bt
#0 0x9611 in _status87 ()
#1 0x47da in do_faulting_finish_message ()
#2 0x4d13 in __djgpp_traceback_exit ()
#3 0x4da0 in raise ()
#4 0x2c3a in nofpsig ()
#5 0x4daa in raise ()
#6 0x4e07 in __djgpp_exception_processor ()
#7 0xc1 in ?? ()
#8 0x4d13 in __djgpp_traceback_exit ()
#9 0x4da0 in raise ()
#10 0x2c3a in nofpsig ()
#11 0x4daa in raise ()
#12 0x4e07 in __djgpp_exception_processor ()
#13 0xc1 in ?? ()
#14 0x4d13 in __djgpp_traceback_exit ()
#15 0x4da0 in raise ()
#16 0x2c3a in nofpsig ()
#17 0x4daa in raise ()
#18 0x4e07 in __djgpp_exception_processor ()
#19 0x1 in ?? ()
#20 0x3368 in __crt1_startup ()
-> n
Single stepping until exit from function _status87,
which has no line number information.
Exiting due to signal SIGFPE
Coprocessor Error at eip=00009616, x87 status=
Program received signal SIGEMT, Emulation trap.
0x9611 in _status87 ()
-> bt
#0 0x9611 in _status87 ()
#1 0x47da in do_faulting_finish_message ()
#2 0x4d13 in __djgpp_traceback_exit ()
#3 0x4da0 in raise ()
#4 0x2c3a in nofpsig ()
#5 0x4daa in raise ()
#6 0x4e07 in __djgpp_exception_processor ()
#7 0xc1 in ?? ()
#8 0x4d13 in __djgpp_traceback_exit ()
#9 0x4da0 in raise ()
#10 0x2c3a in nofpsig ()
#11 0x4daa in raise ()
#12 0x4e07 in __djgpp_exception_processor ()
#13 0xc1 in ?? ()
#14 0x4d13 in __djgpp_traceback_exit ()
#15 0x4da0 in raise ()
#16 0x2c3a in nofpsig ()
#17 0x4daa in raise ()
#18 0x4e07 in __djgpp_exception_processor ()
#19 0xc1 in ?? ()
#20 0x4d13 in __djgpp_traceback_exit ()
#21 0x4da0 in raise ()
#22 0x2c3a in nofpsig ()
#23 0x4daa in raise ()
#24 0x4e07 in __djgpp_exception_processor ()
#25 0x1 in ?? ()
#26 0x3368 in __crt1_startup ()
-> n
Single stepping until exit from function _status87,
which has no line number information.
Exiting due to signal SIGFPE
Coprocessor Error at eip=00009616, x87 status=
Program received signal SIGEMT, Emulation trap.
0x9611 in _status87 ()
-> bt
#0 0x9611 in _status87 ()
#1 0x47da in do_faulting_finish_message ()
#2 0x4d13 in __djgpp_traceback_exit ()
#3 0x4da0 in raise ()
#4 0x2c3a in nofpsig ()
#5 0x4daa in raise ()
#6 0x4e07 in __djgpp_exception_processor ()
#7 0xc1 in ?? ()
#8 0x4d13 in __djgpp_traceback_exit ()
#9 0x4da0 in raise ()
#10 0x2c3a in nofpsig ()
#11 0x4daa in raise ()
#12 0x4e07 in __djgpp_exception_processor ()
#13 0xc1 in ?? ()
#14 0x4d13 in __djgpp_traceback_exit ()
#15 0x4da0 in raise ()
#16 0x2c3a in nofpsig ()
#17 0x4daa in raise ()
#18 0x4e07 in __djgpp_exception_processor ()
#19 0xc1 in ?? ()
#20 0x4d13 in __djgpp_traceback_exit ()
#21 0x4da0 in raise ()
#22 0x2c3a in nofpsig ()
#23 0x4daa in raise ()
#24 0x4e07 in __djgpp_exception_processor ()
#25 0xc1 in ?? ()
#26 0x4d13 in __djgpp_traceback_exit ()
#27 0x4da0 in raise ()
#28 0x2c3a in nofpsig ()
#29 0x4daa in raise ()
#30 0x4e07 in __djgpp_exception_processor ()
#31 0x1 in ?? ()
#32 0x3368 in __crt1_startup ()
-> c
00c1
eax=000000c1 ebx=00000010 ecx=00000000 edx=0004fa10 esi=00000000 edi=00010167
ebp=0008f874 esp=0008f83c program=F:\HACKERY\STAT\NEW_STAT\ANALYSE_
cs: sel=0167 base=104c0000 limit=0009ffff
ds: sel=016f base=104c0000 limit=0009ffff
es: sel=016f base=104c0000 limit=0009ffff
fs: sel=015f base=0004fa10 limit=00003fff
gs: sel=017f base=00000000 limit=0010ffff
ss: sel=016f base=104c0000 limit=0009ffff
App stack: [000901ac..000101ac] Exceptn stack: [00010120..0000e1e0]
Call frame traceback EIPs:
0x00009616 __status87+6
0x00004d13 ___djgpp_traceback_exit+159
0x00004da0 _raise+104
0x00002c3a _fde_split+270
0x00004daa _raise+114
0x00004e07 ___djgpp_exception_processor+35
0x000000c1 0xc1
0x00004d13 ___djgpp_traceback_exit+159
0x00004da0 _raise+104
0x00002c3a _fde_split+270
0x00004daa _raise+114
0x00004e07 ___djgpp_exception_processor+35
0x000000c1 0xc1
0x00004d13 ___djgpp_traceback_exit+159
0x00004da0 _raise+104
0x00002c3a _fde_split+270
0x00004daa _raise+114
0x00004e07 ___djgpp_exception_processor+35
0x000000c1 0xc1
0x00004d13 ___djgpp_traceback_exit+159
0x00004da0 _raise+104
0x00002c3a _fde_split+270
0x00004daa _raise+114
0x00004e07 ___djgpp_exception_processor+35
0x00000001 0x1
0x00003368 ___crt1_startup+204
Program exited with code 0377.
(gdb) q
Right,
MartinS
- Raw text -