Files
Arch-R/packages/debug/gdb/package.mk
Rudi Heitbaum 08f81f0652 gdb: update to 14.2
March 3rd, 2024: GDB 14.2 Released!
The latest version of GDB, version 14.2, is available for download.

This is a minor corrective release over GDB 14.1, fixing the following issues:

PR symtab/31112 (DLL export forwarding is broken)
PR c++/31128 (gdb crashes when trying to print a global variable stub without a running inferior)
PR tdep/31254 ([gdb/tdep, arm] FAIL: gdb.threads/staticthreads.exp: up 10)
PR gdb/31256 (Crash with basic 'list .')
PR python/31366 (Frame.static_link() segfaults)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-14.2-release
2024-03-04 05:34:37 +00:00

58 lines
2.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gdb"
PKG_VERSION="14.2"
PKG_SHA256="2d4dd8061d8ded12b6c63f55e45344881e8226105f4d2a9b234040efa5ce7772"
PKG_LICENSE="GPL"
PKG_SITE="https://www.gnu.org/software/gdb/"
PKG_URL="https://ftp.gnu.org/gnu/gdb/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain expat gmp mpfr ncurses zlib"
PKG_DEPENDS_HOST="toolchain:host expat:host gmp:host mpfr:host ncurses:host zlib:host"
PKG_LONGDESC="GNU Project debugger, allows you to see what is going on inside another program while it executes."
PKG_BUILD_FLAGS="+size"
PKG_CONFIGURE_OPTS_COMMON="bash_cv_have_mbstate_t=set \
--disable-shared \
--enable-static \
--with-auto-load-safe-path=/ \
--with-python=no \
--with-guile=no \
--with-intel-pt=no \
--with-babeltrace=no \
--with-expat=yes \
--disable-source-highlight \
--disable-nls \
--disable-rpath \
--disable-sim \
--without-x \
--disable-tui \
--disable-libada \
--without-lzma \
--disable-libquadmath \
--disable-libquadmath-support \
--enable-libada \
--enable-libssp \
--disable-werror"
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_COMMON} \
--with-libexpat-prefix=${SYSROOT_PREFIX}/usr \
--with-libgmp-prefix=${SYSROOT_PREFIX}/usr"
PKG_CONFIGURE_OPTS_HOST="${PKG_CONFIGURE_OPTS_COMMON} \
--target=${TARGET_NAME}"
pre_configure_target() {
CC_FOR_BUILD="${HOST_CC}"
CFLAGS_FOR_BUILD="${HOST_CFLAGS}"
}
makeinstall_target() {
make DESTDIR=${INSTALL} install
}
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/share/gdb/python
}