Re: IOPanic ans assert not working ?
Re: IOPanic ans assert not working ?
- Subject: Re: IOPanic ans assert not working ?
- From: "David A. Gatwood" <email@hidden>
- Date: Tue, 5 Feb 2002 16:31:08 -0800 (PST)
On Tue, 5 Feb 2002, Justin C. Walker wrote:
>
Given that, the call, per se, does not 'hose the kernel'; it just stops
>
processing. It should print the character string you pass it, and then
>
grind ot a halt. The fact that it doesn't is a bit odd. Maybe you (he)
>
mentioned this, but I've lost it: is this call in a kext? Is it just
>
supposed to call IOPanic()?
And another (gross) thought: what happens if you trigger a panic
indirectly, e.g.
mypanic(char *message)
{
float k;
printf(message);
k /= 0;
}
Does that panic (more) correctly for you?
David
---------------------------------------------------------------------
Check out my weekly web comic:
http://www.techmagazine.org