This is the mail archive of the gdb-patches@sourceware.org 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: [RFC] "single step" atomic instruction sequences as a whole on PPC


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


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