[Shrinker] Modified EXC_CallHandler

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Dec 19 13:09:25 CST 2001


>>>>> "Robert" == Robert Baruch <autophile at 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

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------




More information about the wine-devel mailing list