|
From: Jeremy F. <je...@go...> - 2005-02-04 17:59:07
|
On Fri, 2005-02-04 at 09:16 +0000, Chris January wrote: > > Actually, that's what my patch does, only much more simply. > > It calls a helper which invokes a real int3 instruction; the > > generated SIGTRAP is then delivered to the thread using the > > normal signal machinery. > > Doesn't that mean %eip isn't in the baseBlock/VG_(threads) at exception > time? The INT/ud2 instructions are considered to be the end of the basic block, so all the VCPU state is flushed out. EIP will point to the client's INT instruction (so it doesn't matter what kind of INT we use to raise the signal, so long as it raises the right kind of signal). J |