"Robert" == Robert Baruch autophile@starband.net writes:
Robert> Well, the assembly-coded EXC_CallHandler works (to my surprise), Robert> with a little modification from what I described because after Robert> all, no plan survives contact with the enemy.
Robert> However, we're still getting hit by one of the landmines in Robert> Shrinker. The awful thing is that I can't debug this easily with Robert> gdb. The first exception that's supposed to take place is a Robert> write fault to the code area. But if I set a breakpoint in the Robert> process's code area, gdb is going to remove the write protection Robert> from the code area because, I guess, it needs to put a Robert> breakpoint in there (I thought it would use breakpoint registers Robert> instead of int $3?)
You can try to set a hardware breakpoint "hbreak" or enter the int$3 in that page after fixup before protextions are set. But the latter will probably be tedious.
Bye