Skip to content

Add support for gdb 8.1

Thomas Petazzoni buildroot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Changes in v3 from the cover letter

- Rework "package/gdb: rework dependency for C++11" to fix issues pointed out during the review. The BR2_PACKAGE_GDB_NEEDS_CXX11 blind option is moved to package/gdb/Config.in.host, and calculated differently. A comment is added on top of it to explain the logic behind it.

- Fix build of gdb 8.1 with uclibc/musl caused by gnulib not detecting the availability of strerror().

- Re-add patches from gdb 8.0.1 that are still valid, i.e all patches, except one that has been merged upstream.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5package/gdb: rework dependency for C++11package/gdb/Config.in package/gdb/Config.in.host+20 -32 replies
2/5package/gdb: bump to version 8.1package/gdb/8.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch package/gdb/8.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch package/gdb/8.1/0003-use-asm-sgidefs.h.patch +4 more+223 -31 reply
3/5package/gdb: switch to 8.0 as the default versionpackage/gdb/Config.in.host+9 -61 reply
4/5package/gdb: remove 7.10Config.in.legacy package/gdb/Config.in.host package/gdb/gdb.hash+7 -51 reply
5/5package/gdb: remove 7.11Config.in.legacy package/gdb/Config.in.host package/gdb/gdb.hash+7 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Buildroot] [PATCH v3 0/5] Add support for gdb 8.1

Hello,

Here is finally a respin of the gdb 8.1 support.

Changes since v2:

- Rework "package/gdb: rework dependency for C++11" to fix issues pointed out during the review. The BR2_PACKAGE_GDB_NEEDS_CXX11 blind option is moved to package/gdb/Config.in.host, and calculated differently. A comment is added on top of it to explain the logic behind it.

- Fix build of gdb 8.1 with uclibc/musl caused by gnulib not detecting the availability of strerror().

- Re-add patches from gdb 8.0.1 that are still valid, i.e all patches, except one that has been merged upstream.

Arnout suggested that we should probably remove the version selection for gdb. For now, I've kept it as it is, I believe it's a separate discussion. gdb 8.1 has been released in January 2018, i.e 6 months ago, it's time to merge support for it.

Thanks,

Thomas

Romain Naour (4):
package/gdb: bump to version 8.1 package/gdb: switch to 8.0 as the default version package/gdb: remove 7.10
package/gdb: remove 7.11

Thomas Petazzoni (1):
package/gdb: rework dependency for C++11

 Config.in.legacy                                   | 14 +++++
 ...Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 55 +++++++++++++++++++
 ...efine-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch | 43 +++++++++++++++
 package/gdb/8.1/0003-use-asm-sgidefs.h.patch       | 40 ++++++++++++++
 .../8.1/0004-gdbserver-fix-build-for-m68k.patch    | 62 ++++++++++++++++++++++
 package/gdb/Config.in                              |  8 +++
 package/gdb/Config.in.host                         | 37 ++++++++-----
 package/gdb/gdb.hash                               |  3 +-
 package/gdb/gdb.mk                                 | 14 ++++-
 9 files changed, 260 insertions(+), 16 deletions(-)
 create mode 100644 package/gdb/8.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
 create mode 100644 package/gdb/8.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch
 create mode 100644 package/gdb/8.1/0003-use-asm-sgidefs.h.patch
 create mode 100644 package/gdb/8.1/0004-gdbserver-fix-build-for-m68k.patch
Signature · 1 line
2.14.4