From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9102 invoked by alias); 9 May 2007 19:10:05 -0000 Received: (qmail 9069 invoked by uid 22791); 9 May 2007 19:10:04 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 May 2007 19:10:00 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id l49J9wSm177294 for ; Wed, 9 May 2007 19:09:58 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l49J9w4p3989616 for ; Wed, 9 May 2007 21:09:58 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l49J9vMb013295 for ; Wed, 9 May 2007 21:09:58 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id l49J9vBu013292; Wed, 9 May 2007 21:09:57 +0200 Message-Id: <200705091909.l49J9vBu013292@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 9 May 2007 21:09:57 +0200 Subject: Re: [RFC] "single step" atomic instruction sequences as a whole on PPC To: drow@false.org (Daniel Jacobowitz) Date: Wed, 09 May 2007 19:10:00 -0000 From: "Ulrich Weigand" Cc: jan.kratochvil@redhat.com (Jan Kratochvil), luisgpm@linux.vnet.ibm.com (Luis Machado), gdb-patches@sourceware.org In-Reply-To: <20070509184623.GA13382@caradoc.them.org> from "Daniel Jacobowitz" at May 09, 2007 02:46:23 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00139.txt.bz2 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