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] |
>>>>> "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] |