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: [PATCHv4] aarch64: detect atomic sequences like other ll/sc architectures


On Thu, Apr 24, 2014 at 11:38:57AM -0700, Andrew Pinski wrote:
> > +  uint32_t insn = read_memory_unsigned_integer (loc, insn_size, byte_order);
> 
> 
> I think this is broken for big-endian aarch64.  Instructions are
> always in little-endian mode so we really should be reading them
> always as little-endian.
> 

You're right, I meant to do gdbarch_byte_order_for_code as is done
elsewhere in tdep for AArch64... will resend.

regards,
--Kyle


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