This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] provide type_align gdbarch function for nios2
- From: Tom Tromey <tom at tromey dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: "gdb-patches\@sourceware.org" <gdb-patches at sourceware dot org>, <qiyao at sourceware dot org>
- Date: Fri, 14 Sep 2018 20:57:23 -0600
- Subject: Re: [patch] provide type_align gdbarch function for nios2
- References: <7428fb6b-bd85-f852-41a4-683e4bea16ee@codesourcery.com>
>>>>> "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