From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31282 invoked by alias); 24 Nov 2011 12:37:38 -0000 Received: (qmail 31058 invoked by uid 22791); 24 Nov 2011 12:37:37 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD,TW_ZJ X-Spam-Check-By: sourceware.org Received: from mtagate7.uk.ibm.com (HELO mtagate7.uk.ibm.com) (194.196.100.167) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Nov 2011 12:37:20 +0000 Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id pAOCbJjB016557 for ; Thu, 24 Nov 2011 12:37:19 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pAOCbIeH2302088 for ; Thu, 24 Nov 2011 12:37:18 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pAOCbGoP019891 for ; Thu, 24 Nov 2011 05:37:17 -0700 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id pAOCbFIK019798; Thu, 24 Nov 2011 05:37:15 -0700 Message-Id: <201111241237.pAOCbFIK019798@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 24 Nov 2011 13:37:15 +0100 Subject: Re: [PATCH v2, alpha]: Handle single-stepping of atomic sequences To: ubizjak@gmail.com (Uros Bizjak) Date: Thu, 24 Nov 2011 12:37:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, amodra@gmail.com (Alan Modra), rth@redhat.com (Richard Henderson), Ulrich.Weigand@de.ibm.com (Ulrich Weigand) In-Reply-To: from "Uros Bizjak" at Nov 24, 2011 10:20:58 AM 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: 2011-11/txt/msg00680.txt.bz2 Uros Bizjak wrote: > 2011-11-24 Uros Bizjak > > * alpha-tdep.c (br_opcode): New. > (ldl_l_opcode, ldq_l_opcode, stl_c_opcode, stq_c_opcode): Ditto. > (alpha_deal_with_atomic_sequence): New function. > (alpha_gdbarch_init): Handle single stepping of atomic sequences > with alpha_deal_with_atomic_sequence. > > [v3]: As suggested by Ulrich, handle all branch instructions inside > compare and exchange loop. > > Re-tested on alphaev68-pc-linux-gnu, also with simulate-thread.exp > from GCC testsuite. Patch seems to be missing ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com