Re: EXW crash
- Posted by jbrown1050 at hotpop.com Dec 23, 2002
- 443 views
On Sat, Dec 21, 2002 at 09:00:18PM -0500, jbrown1050 at hotpop.com wrote: > > On Sat, Dec 21, 2002 at 06:38:06PM -0500, Robert Craig wrote: > > > Excellent idea! I should have tried this long ago. Somehow > > I thought it wasn't possible. I set up an exception handler > > under Watcom/DOS a long time ago, and it didn't work at all, > > but I never tried it with Windows. I think it will probably work > > with Linux and FreeBSD too. > > Right. > > signal(SIGILL, <signal handler>); > signal(SIGSEGV, <signal handler>); > > for my version of Linux: > > SIGILL == 4 > SIGSEGV == 11 > > I've said this more for reference for other *nix programmers in EUforum > (as RobC undoubtably already knows this). Rob, not sure if you knew this. signal(SIGINT, <check_break handler>); This can be used to emulate allocate_break()/check_break() for exu. I wrote a lib for this once, I'll post it to this list if i can find it. jbrown > > > > > Regards, > > Rob Craig > > Rapid Deployment Software > > http://www.RapidEuphoria.com > > > > > jbrown > > >