This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Mon, Mar 24, 2014 at 06:00:47PM +0000, Richard Earnshaw wrote:
> On 24/03/14 16:57, Joel Brobecker wrote:
> > Hello Kyle,
> >> +      /* look for a conditional branch to set a breakpoint on the destination. */
> > 
> > This line looks too long?
> 
> Also, comments are full sentences, so begin with a capital letter and
> end with a full stop and two spaces.
> 
> >> +      /* and the matching store-exclusive to close it. */
> >> +      if (decode_masked_match(insn, 0x3fc00000, 0x08000000))
> > 
> > Same here...
> 
> If you really need a continuation comment like this, then end the
> previous one with "..." and start the current one with "... and".
> Otherwise, this should be re-written as a stand-alone sentence.
> 

Thanks very much, I've just posted a v2 which I hope addresses your
issues with my patch (and adds a testcase.)

regards, Kyle


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]