[patch/RFA] multiarch INSTRUCTION_NULLIFIED

Daniel Jacobowitz drow@false.org
Wed Dec 1 17:28:00 GMT 2004


On Wed, Dec 01, 2004 at 09:25:30AM -0800, Randolph Chung wrote:
> > > this is exactly what the instruction_nullified method that i added do :)
> > 
> > Could you do this at the end of the to_wait hook, if I provided a way
> > for the native target to override to_wait?  Oh, I guess it's an
> > architecture property, not a target property, so you'd need to do it
> > for remote stubs too.
> 
> probably yes; but why is this better?

Only better if it allowed to remove all reference to this
target-specific problem from core GDB.  Which it doesn't sound like it
would.

How do you detect that an instruction is nullified, or where the next
instruction executed will be?  Is there a bit in some status register?

-- 
Daniel Jacobowitz



More information about the Gdb-patches mailing list