Mail Archives: djgpp-workers/1996/04/20/16:08:03
> For fsdb, would the following modification be correct
>
> else if (i == 8 || (i >= 10 && i <= 14) || i == 17)
> message (CL_Error, "Exception %d (0x%02x) occurred, error code=%#lx",
> i, i, a_tss.tss_error);
> | else if (i < 32) /* use to be just 'else' */
> message (CL_Error, "Exception %d (0x%02x) occurred", i, i);
>
> This 'fixes' the spurious Exception bug I mentioned earlier, but it would be preferable if I
> could find the real cause of this problem. I've looked at the exception handling code in
> src/libc/go32 (dpmiexcp.c and exceptn.s) but I couldn't find anything definite. Is there
> somewhere else I should be looking?
This should NOT be made - we actually have some pseudo exceptions
(hardware interrupts translated to exceptions) with values 0x78 (timer)
0x79 (CTRL-C) and 0x75 (FP errors). If there are other errors they need
to be fixed, not break the debugger handling of these other exceptions!
- Raw text -