[patch] provide type_align gdbarch function for nios2

Sandra Loosemore sandra@codesourcery.com
Sat Sep 15 01:47:00 GMT 2018


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

OK to commit?

-Sandra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-align.patch
Type: text/x-patch
Size: 1676 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20180915/f3b99237/attachment.bin>


More information about the Gdb-patches mailing list