Skip to content

Commit

Permalink
devel/gdb: Upgrade to 14.1
Browse files Browse the repository at this point in the history
- Notable upstream fixes for FreeBSD include better support for
  multiprocessing as well as support for AVX and other extended
  registers in core dumps on newer AMD CPUs.

- Use all-gdb as the build target to reduce build time.

- sim can no longer be excluded during the tarball as a couple of
  source files in GDB now use headers from sim/ unconditionally.
  Instead, use --disable-sim to skip building the simulators.

Reviewed by:	pizzamig
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D43053
  • Loading branch information
bsdjhb committed Jan 18, 2024
1 parent a6f331b commit af0d94a
Show file tree
Hide file tree
Showing 11 changed files with 226 additions and 342 deletions.
10 changes: 6 additions & 4 deletions devel/gdb/Makefile
@@ -1,6 +1,5 @@
PORTNAME= gdb
DISTVERSION= 13.2
PORTREVISION= 2
DISTVERSION= 14.1
CATEGORIES= devel
MASTER_SITES= GNU

Expand All @@ -25,15 +24,16 @@ TEST_TARGET= check
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
CONFIGURE_ENV= CONFIGURED_M4=m4 CONFIGURED_BISON=byacc
CONFIGURE_ARGS= --program-suffix=${DISTVERSION:S/.//g} \
CONFIGURE_ARGS= --program-suffix=${VER} \
--disable-sim \
--enable-targets=all --enable-64-bit-bfd \
--with-separate-debug-dir=/usr/lib/debug \
${ICONV_CONFIGURE_ARG} \
--without-libunwind-ia64
CONFIGURE_OUTSOURCE= yes
CFLAGS:= ${CFLAGS:C/ +$//} # blanks at EOL creep in sometimes
CFLAGS+= -DRL_NO_COMPAT
EXCLUDE= dejagnu expect sim texinfo intl
EXCLUDE= dejagnu expect texinfo intl
EXTRACT_AFTER_ARGS= ${EXCLUDE:S/^/--exclude /}

VER= ${DISTVERSION:S/.//g}
Expand Down Expand Up @@ -85,6 +85,8 @@ TUI_CONFIGURE_ENABLE= tui
XXHASH_CONFIGURE_OFF= --with-xxhash=no
XXHASH_LIB_DEPENDS= libxxhash.so:devel/xxhash

ALL_TARGET= all-gdb

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MPYTHON}
Expand Down
6 changes: 3 additions & 3 deletions devel/gdb/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1691332214
SHA256 (gdb-13.2.tar.xz) = fd5bebb7be1833abdb6e023c2f498a354498281df9d05523d8915babeb893f0a
SIZE (gdb-13.2.tar.xz) = 23664644
TIMESTAMP = 1702493574
SHA256 (gdb-14.1.tar.xz) = d66df51276143451fcbff464cc8723d68f1e9df45a6a2d5635a54e71643edb80
SIZE (gdb-14.1.tar.xz) = 24108624
SHA256 (bsdjhb-libcxx-gdbpy-03d0d9b_GH0.tar.gz) = 2c1563f361d4fb59b54b1b39bff5cdf609d73962758eb05a8cdfe2c22551b259
SIZE (bsdjhb-libcxx-gdbpy-03d0d9b_GH0.tar.gz) = 6052
37 changes: 0 additions & 37 deletions devel/gdb/files/commit-a980a7d24b9

This file was deleted.

128 changes: 0 additions & 128 deletions devel/gdb/files/commit-ae61525fcf4

This file was deleted.

0 comments on commit af0d94a

Please sign in to comment.