This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] More type_align fixes
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Jim Wilson <jimw at sifive dot com>, John Baldwin <jhb at freebsd dot org>, Palmer Dabbelt <palmer at sifive dot com>, Tom Tromey <tom at tromey dot com>
- Date: Thu, 11 Apr 2019 23:42:13 +0100
- Subject: Re: [PATCH 0/2] More type_align fixes
- References: <cover.1554672869.git.andrew.burgess@embecosm.com>
* 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
>