[RFC] "single step" atomic instruction sequences as a whole on PPC

Ulrich Weigand uweigand@de.ibm.com
Wed May 9 19:10:00 GMT 2007


Daniel Jacobowitz wrote:

> I hadn't thought about this case, of trying to step over a touchy
> atomic sequence; I don't see any way we could make it work if we let
> more than one thread run at once.

However, in particular when atomic sequences are involved, the
current thread might be trying to acquire a lock held by another
thread.  If we keep running just the one thread, it'll never
get the lock ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list