From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5517 invoked by alias); 24 Mar 2014 16:25:04 -0000 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 Received: (qmail 5507 invoked by uid 89); 24 Mar 2014 16:25:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Mar 2014 16:25:02 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2OGP0bX025513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Mar 2014 12:25:01 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s2OGOw4v007244; Mon, 24 Mar 2014 12:24:59 -0400 Message-ID: <53305C5A.5000001@redhat.com> Date: Mon, 24 Mar 2014 16:25:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Kyle McMartin CC: gdb-patches@sourceware.org Subject: Re: [PATCH] aarch64: detect atomic sequences like other ll/sc architectures References: <20140324161056.GB23291@redacted.bos.redhat.com> In-Reply-To: <20140324161056.GB23291@redacted.bos.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-03/txt/msg00577.txt.bz2 Hi! On 03/24/2014 04:10 PM, Kyle McMartin wrote: > Add similar single-stepping over atomic sequences support like other > load-locked/store-conditional architectures (alpha, powerpc, arm, etc.) > do. Verified the decode_masked_match, and decode_bcond works against the > atomic sequences used in the Linux kernel atomic.h, and also gcc > libatomic. Thanks to Richard Henderson for feedback on my initial > attempt at this patch! Thanks! It'd be nice to have a test in the test suite. Could you add one? PPC64's equivalent seems to be gdb.arch/ppc64-atomic-inst.c|exp. -- Pedro Alves