#seg:offset
3 messages in this thread
>> OS protection is a *debugging* aid, not a crutch.
That may be true in an embedded or single user system but I don't think
unix would be as successful as it is if every core dump (of which I've had
many, including commercial compilers) caused the entire system to crash.
jon
Why are you getting a core dump except because something needs debugging?
Rud
Rud,
Because the C cross compiler (for which we had paid about $7500)
couldn't handle certain syntax errors and crashed when it encountered them.
The point is that I don't think my co-workers would be real happy if I
inadvertantly tried to compile such a program while they were in the middle
of an editing session and they lost all their work as a result. For that
matter, even if I were debugging my own code and got a fatal error, there's
no reason that should have any impact on them; isn't that what a multi-user
(although not neccessarily multi-tasking) system is all about :-). (I
agree with your original statement that for a dedicated, embedded
<redundant!> system, there's usually no difference between a task crash and
a system crash.)
Jon.