Re: [patch/RFA] multiarch INSTRUCTION_NULLIFIED

Daniel Jacobowitz
2004-12-01T17:28:39Z

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