This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/RFA] multiarch INSTRUCTION_NULLIFIED


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]