[PATCH] aarch64: detect atomic sequences like other ll/sc architectures

Kyle McMartin kmcmarti@redhat.com
Mon Mar 24 16:28:00 GMT 2014


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



More information about the Gdb-patches mailing list