[PATCH 0/2] More type_align fixes

Andrew Burgess andrew.burgess@embecosm.com
Thu Apr 11 22:42:00 GMT 2019


* Andrew Burgess <andrew.burgess@embecosm.com> [2019-04-07 22:37:53 +0100]:

> This short series finally removes the riscv_type_alignment function
> and replaces it with use of the common type_align function.
> 
> I found one more fix that was needed in order to allow this change
> (patch #1), then the switch over is simple (patch #2).
> 
> --
> 
> Andrew Burgess (2):
>   gdb: Fix alignment computation for structs with only static fields
>   gdb/riscv: Remove riscv_type_alignment function

I've pushed both of these patches now.

Thanks,
Andrew



> 
>  gdb/ChangeLog                    | 12 ++++++++
>  gdb/gdbtypes.c                   | 12 ++++----
>  gdb/riscv-tdep.c                 | 60 ++++++++--------------------------------
>  gdb/testsuite/ChangeLog          |  5 ++++
>  gdb/testsuite/gdb.base/align.exp | 24 ++++++++++++----
>  5 files changed, 53 insertions(+), 60 deletions(-)
> 
> -- 
> 2.14.5
> 



More information about the Gdb-patches mailing list