[patch] provide type_align gdbarch function for nios2

Tom Tromey tom@tromey.com
Sat Sep 15 02:57:00 GMT 2018


>>>>> "Sandra" == Sandra Loosemore <sandra@codesourcery.com> writes:

Sandra> The attached patch fixes almost 400 failures in gdb.base/align.exp and
Sandra> related tests due to a missing definition for the type_align hook for
Sandra> nios2.  I swiped the definition of the hook from the arc backend which
Sandra> has similar conventions: the alignment of byte/halfword types matches
Sandra> their size, but all types 4 bytes or larger are aligned on a 4-byte
Sandra> boundary.

Sandra> OK to commit?

Thank you for the patch.  This is ok.

Tom



More information about the Gdb-patches mailing list