>This is because the INT 3 gate (like all our other interrupt gates)
>has privilege level 0, which means that it only be reached from ring-0.
Ah, I see. Now, if no other is working on it, I'll build a little emulation
"framework" ;) which finds out the faulty instruction (for GPing instructions)
and forks (no, not the UN*X fork) to the right emulation function.
>Of course in the case of int3 it might be debatable whether it would
>not be easier to set the gate privilege level to 3, so that our int3
>handler gets called directly ...
We'll see which approach will be the best...
jens