All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/5] GDB updates
@ 2021-10-09 19:16 Thomas Petazzoni
  2021-10-09 19:16 ` [Buildroot] [PATCH 1/5] package/gdb: append to dependencies in conditional Thomas Petazzoni
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Thomas Petazzoni @ 2021-10-09 19:16 UTC (permalink / raw)
  To: Buildroot List
  Cc: Michael Fischer, Romain Naour, Yann E. MORIN, Thomas Petazzoni

Hello,

The starting point for this series was the patch from Michael Fischer
adding support for gdb 11.x. Michael's patch was not fully correct as
such, and required a few adaptations.

But while doing it, I discovered a bug in the current gdb package,
fixed by PATCH 1 in this series.

Then, after adding support for gdb 11.x in PATCH 2, we do the usual
dance of bumping the gdb version to 10.x in PATCH 3, and dropping
support for the oldest gdb version supported in PATCH 4.

We have a lot of different situations with gdb: building host-gdb
only, building target gdbserver only, building target full gdb only,
building both host-gdb and target gdb, the special ARC architecture
situation that requires additional dependencies (host-flex,
host-bison), the fact that GDB 11.x now needs gmp, etc. So I went
ahead and implement a series of test cases. They don't do much in
terms of runtime testing: they just run gdb --version (host or target)
or gdbserver --version, but at least they allow to make sure that the
different combinations continue to build.

And it does work, because it is by writing this series of tests that I
discovered the bug fixed in PATCH 1.

Best regards,

Thomas Petazzoni

Michael Fischer (1):
  package/gdb: add support for gdb 11.x

Thomas Petazzoni (4):
  package/gdb: append to dependencies in conditional
  package/gdb: switch to gdb 10.x as the default
  package/gdb: drop support for version 8.3.x
  support/testing: add suite of tests for gdb

 Config.in.legacy                              |   6 +
 ...e-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch |  46 ++--
 ...-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch |  16 +-
 .../0003-use-asm-sgidefs.h.patch              |   6 +-
 .../0004-gdbserver-fix-build-for-m68k.patch   |  19 +-
 ...fork-inferior-include-linux-ptrace.h.patch |  12 +-
 ...e-of-is-operator-for-comparison-in-p.patch |  42 ----
 ...x-Python3.9-related-runtime-problems.patch | 193 ----------------
 package/gdb/Config.in                         |   1 +
 package/gdb/Config.in.host                    |  19 +-
 package/gdb/gdb.hash                          |   2 +-
 package/gdb/gdb.mk                            |  16 +-
 support/testing/tests/package/test_gdb.py     | 215 ++++++++++++++++++
 13 files changed, 297 insertions(+), 296 deletions(-)
 rename package/gdb/{8.3.1 => 11.1}/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch (74%)
 rename package/gdb/{8.3.1 => 11.1}/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch (71%)
 rename package/gdb/{8.3.1 => 11.1}/0003-use-asm-sgidefs.h.patch (90%)
 rename package/gdb/{8.3.1 => 11.1}/0004-gdbserver-fix-build-for-m68k.patch (78%)
 rename package/gdb/{8.3.1 => 11.1}/0005-nat-fork-inferior-include-linux-ptrace.h.patch (87%)
 delete mode 100644 package/gdb/8.3.1/0006-Fix-incorrect-use-of-is-operator-for-comparison-in-p.patch
 delete mode 100644 package/gdb/8.3.1/0007-Fix-Python3.9-related-runtime-problems.patch
 create mode 100644 support/testing/tests/package/test_gdb.py

-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-10-10 17:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-09 19:16 [Buildroot] [PATCH 0/5] GDB updates Thomas Petazzoni
2021-10-09 19:16 ` [Buildroot] [PATCH 1/5] package/gdb: append to dependencies in conditional Thomas Petazzoni
2021-10-10  8:49   ` Yann E. MORIN
2021-10-10 10:05     ` Peter Korsgaard
2021-10-10 13:57     ` Thomas Petazzoni
2021-10-09 19:16 ` [Buildroot] [PATCH 2/5] package/gdb: add support for gdb 11.x Thomas Petazzoni
2021-10-10  9:10   ` Yann E. MORIN
2021-10-10 13:57     ` Thomas Petazzoni
2021-10-10 17:42       ` Yann E. MORIN
2021-10-09 19:16 ` [Buildroot] [PATCH 3/5] package/gdb: switch to gdb 10.x as the default Thomas Petazzoni
2021-10-10 17:42   ` Yann E. MORIN
2021-10-09 19:16 ` [Buildroot] [PATCH 4/5] package/gdb: drop support for version 8.3.x Thomas Petazzoni
2021-10-10 17:42   ` Yann E. MORIN
2021-10-09 19:16 ` [Buildroot] [PATCH 5/5] support/testing: add suite of tests for gdb Thomas Petazzoni
2021-10-10 17:43   ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.