Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] More type_align fixes
@ 2019-04-07 21:38 Andrew Burgess
  2019-04-07 21:38 ` [PATCH 2/2] gdb/riscv: Remove riscv_type_alignment function Andrew Burgess
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrew Burgess @ 2019-04-07 21:38 UTC (permalink / raw)
  To: gdb-patches
  Cc: Jim Wilson, John Baldwin, Palmer Dabbelt, Tom Tromey, Andrew Burgess

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

 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-11 22:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-07 21:38 [PATCH 0/2] More type_align fixes Andrew Burgess
2019-04-07 21:38 ` [PATCH 2/2] gdb/riscv: Remove riscv_type_alignment function Andrew Burgess
2019-04-07 21:38 ` [PATCH 1/2] gdb: Fix alignment computation for structs with only static fields Andrew Burgess
2019-04-07 22:36   ` Tom Tromey
2019-04-11 22:42 ` [PATCH 0/2] More type_align fixes Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox