Re: [patch] "single step" atomic instruction sequences as a whole.

Andreas Schwab
2007-03-06T11:00:31Z

Emi SUZUKI <emi-suzuki@tjsys.co.jp> writes:

> + /* Assume that the atomic sequence ends with a stwcx instruction
> + followed by a conditional branch instruction. */
> + if ((insn & STWCX_MASK) != STWCX_INSTRUCTION)
> + error (_("Tried to step over an atomic sequence of instructions but could not find the end of the sequence."));

I don't think error should be called here. It would probably be better to
just continue with the normal single-step here.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃŸe 5, 90409 NÃ¼rnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."