Mail Archives: djgpp-workers/1997/12/14/14:25:48
> I would like to ask once again whether there is something magic about the
> fake exceptions used between exceptn.S and dpmiexcp.c (last time I asked,
> nobody answered). I want to know if there are any dangers in inventing
> new fake exception numbers like the patches below do.
There is nothing special about them, you may invent at will. I doubt
anyone really understands the mess I left except for me, sorry ... ;-/
But it shouldn't be necessary to do a hw_exception to get a traceback -
just calling setjmp with a pointer to the exception structure and then
the call the traceback print routine. Even better yet, the raise()
routine should probably do this all for you, so someone can catch SIGABRT.
djgpp_hw_exception is really only needed if something happens inside
a hardware interrupt that you want to schedule for main thread execution.
Sorry about the slow response, I've been on a business trip with poor
net connectivity.
- Raw text -