[PATCH 0/3] struct packed and Windows ports (PR build/29373)

Pedro Alves
2022-07-21T15:21:49Z

PR build/29373 points out that mingw GDB builds are brokenly current,
failing static assertions in gdbsupport/packed.h. This series fixes
it, for both mingw + gcc, and mingw + clang.

Pedro Alves (3):
struct packed: Use gcc_struct on Windows
struct packed: Unit tests and more operators
struct packed: Add fallback byte array implementation

gdb/Makefile.in | 1 +
gdb/unittests/packed-selftests.c | 132 ++++++++++++++++++++++++++++++
gdbsupport/packed.h | 134 ++++++++++++++++++++++++-------
3 files changed, 236 insertions(+), 31 deletions(-)
create mode 100644 gdb/unittests/packed-selftests.c

base-commit: d65edaa0bc3f24537ecde3735b1fa041f36f4ab8
--
2.36.0