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: [RFA 6/6] Remove long_long_align_bit gdbarch attribute


>>>>> "Anton" == Anton Kolesov <Anton.Kolesov@synopsys.com> writes:

Anton> I would have implemented this as:

Anton> static ULONGEST
Anton> arc_type_align (struct gdbarch *gdbarch, struct type *type) {
Anton>   type = check_typedef (type);
Anton>   return std::min<ULONGEST>(4, TYPE_LENGTH (type));
Anton> }

Thanks, I've made this change locally.

Tom


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