This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] aarch64: detect atomic sequences like other ll/sc architectures
- From: Kyle McMartin <kmcmarti at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 24 Mar 2014 12:28:09 -0400
- Subject: Re: [PATCH] aarch64: detect atomic sequences like other ll/sc architectures
- Authentication-results: sourceware.org; auth=none
- References: <20140324161056 dot GB23291 at redacted dot bos dot redhat dot com> <53305C5A dot 5000001 at redhat dot com>
On Mon, Mar 24, 2014 at 04:24:58PM +0000, Pedro Alves wrote:
> 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.
>
Absolutely, I'll work on a set of tests for this today.
--Kyle