aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Belsito <lluixhi@gmail.com>2016-12-06 12:54:04 -0800
committerAric Belsito <lluixhi@gmail.com>2016-12-06 12:54:04 -0800
commit6f9640e70a7720ce2e243e5547c8619e9e6d436e (patch)
tree141e14e4ab1b6a36e023369071fadab83dbfed48
parentsys-apps/kexec-tools: Add latest version (diff)
downloadmusl-6f9640e70a7720ce2e243e5547c8619e9e6d436e.tar.gz
musl-6f9640e70a7720ce2e243e5547c8619e9e6d436e.tar.bz2
musl-6f9640e70a7720ce2e243e5547c8619e9e6d436e.zip
sys-devel/gdb: Update to 7.12
Sync with upstream, drop r99 postfix Need to verify the missing stat.h patch is actually necessary for 7.12
-rw-r--r--sys-devel/gdb/Manifest8
-rw-r--r--sys-devel/gdb/files/gdb-7.11-linux_nat.patch23
-rw-r--r--sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch11
-rw-r--r--sys-devel/gdb/gdb-7.10.1.ebuild (renamed from sys-devel/gdb/gdb-7.10.1-r99.ebuild)18
-rw-r--r--sys-devel/gdb/gdb-7.12.ebuild238
-rw-r--r--sys-devel/gdb/metadata.xml1
6 files changed, 290 insertions, 9 deletions
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 905b9b7..1d32a27 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,5 +1,9 @@
+AUX gdb-7.11-linux_nat.patch 770 SHA256 9bc0a34c173c7603c91b7cc7880cee2535a785372889cff4f503c717db0d022c SHA512 d5c8ae598e2d560d28f6d8c41f61a67b448b38ebd5bccd6cfc9b24b99ece7df169d7ebe7dcf9476edf982668deae0e73f83c932323510c458049cb8cf7d47b19 WHIRLPOOL 09f903ae90ddb74a07734237a2fc1e9b01f4ccb140863287c26e2b6300ed282fab2bc873afa412ffe4e00045055e1e26a405c14b330f1f20df2929e4918c10fc
+AUX gdb-7.11-missing-stat_h.patch 405 SHA256 ca3e8d8cd37ee5a1c81275ad97fcfdc9e0dd15649926e781a0b6c6e5c5059dde SHA512 11807093bdeeb1732b4a721282c02f261d9b370f807a2432396e07aa38ec36e3bb2c5efba9e6502b6279cc03f8fb3a35f832da4183a9f0689239c0cf82953334 WHIRLPOOL 6b614d893eccf3e84f5bb52f34c20449d8bfd2383d8d317f4047edc95a1bed449642cd6865a9fd6e9da9ae908591cb221d49cf4dd076387b79c3cf34dd49fa91
AUX gdb-linux_nat.patch 617 SHA256 dcef02741f402ad34c658a90b85667e93e1d3293fe2941acd5b6821b349a1532 SHA512 1d5ecce8c1b597f12298d17bae308e332cb0dbae56b08c3da7829ab6a473f1b20e8e6572bab45bce5942771753604b7a9541c809f2a86d4beb38ff98b0be4bfe WHIRLPOOL c1d2a91f743e04f429ec423663a090a99878229f4d4e3aa207951e1db58892648464ea50fde03d5eaf05ccf2541a8ad2a7ff67d2e86115a3e66dd9a8bd32b9b4
AUX gdb-missing-stat_h.patch 398 SHA256 88a49f997609644866ca873653b1f7cc09f75edb33b2f32ac73c7caffa1ce8d3 SHA512 8b1d22a61cb471df7052d2215dd5d67175e1732769bde90cb992d23ef97dd7153e2ab348ec184577b9491b68184f542a3f5fe8027b280b5feb38b23353568449 WHIRLPOOL b83c3a7a1825e54f8deaf7a4068b4c1b99adb9d6c1c6ef04eef47450a12f90bcd854462703e006aa049c68fa30d7b64cbbfdca6d0f5dd578f72d6704ed23f1d2
DIST gdb-7.10.1.tar.xz 18531436 SHA256 25c72f3d41c7c8554d61cacbeacd5f40993276d2ccdec43279ac546e3993d6d5 SHA512 17a5138277a31685a5c2a841cb47ed9bc4626ea617b8ca77750513b300299f4fbbffe504958b5372de610dcb952c679cf8fa9c1bdadd380294fbf59b6e366010 WHIRLPOOL 02936f59d3f3f8a57966c72402f1da128dd8e10e686097ffdb3a2741cc0c1831ef27f97daa047fa006ff2ae9f79ae0480f6f0dc2d3f5904190a1dade0590c837
-EBUILD gdb-7.10.1-r99.ebuild 6371 SHA256 03850d254d35037b2c1f4028b46db3a9141f3071dace6de22add9e34795bfac4 SHA512 35b7f0faefad371150599eab555028bc4a31998ed9391192ec97f4ed62862107d8a203a3a5d3679d91bce18a6ce9ec44d6bd5435b44638bfa36b4fb1f23859f1 WHIRLPOOL 31da6a2e986f78cbf49b79d61134e7126a10ae14d6729bda641f3642a47e49830c7b41dda9276478acef21b149e83b29c3ad6f5d1fbc76a840933469f6d73b96
-MISC metadata.xml 789 SHA256 f2e0873018de92fefc1201a7fa9ed40c545e77f3365c4c63a4f7a5ae1a061536 SHA512 3b8d945ea9647f732983d254e57cd4bb224a3ceafe0f2be090ec9495393453b8f4c5dc8794656b9fe30f2f9ed20e5e6d532f071f57bc2ef40f56b45de0253e99 WHIRLPOOL 087bcb96a1fee951d96d02ba8d1536dc46e9ef8cb6f8d8e964151dc5a9bb8113b800aac052d7697c8b353903a7187e19a7f756c72f1e2533e06ad33e29210de2
+DIST gdb-7.12.tar.xz 19219556 SHA256 834ff3c5948b30718343ea57b11cbc3235d7995c6a4f3a5cecec8c8114164f94 SHA512 f610338b3a24dfb387c295431d806a0c1375e8ce51b8dd8bbfd2efc4612d0c0ed40ad4393508afca0071eca70688f62bc4f199da5e75ad16f64d91c3bc046033 WHIRLPOOL 9b4c903b27bba530cb5db722abc6358d3785e0b1f1067abaf8487c7e2b3e7cfe546f5ad16071ad29e34a27fd902a7f74171d4c7afec219ba69faae96c911cb27
+EBUILD gdb-7.10.1.ebuild 6702 SHA256 f2e400d36ae630f4a495ed8bf21fa820cf0fa0c7fb9ae9fa9180b2032622c99b SHA512 f7c405c044c7a82e25493bbce7179fd2d4ddc56a7b217e37d1150cba5d26fe9b85d557e36f77994611dcce7efd12531d6be46e4ec28f6fc863721b1da9e4a0f5 WHIRLPOOL bca9d79749e0e16ed3ab5c95e57be0a88753e1e944c3afd3f9980f45f9a7a1f5f51b68285da86530b692cc924853720ce4f3a1f75809e13cc20dcfbe9a9c5468
+EBUILD gdb-7.12.ebuild 6717 SHA256 54f6284a3a9b331e74b6a4bf09fffc51460eb577b3508e002dbb80cf7ca8bdcd SHA512 5fb92c2a334ffba75d91dd5fc878f8bb1a1e0ee9914ef2921b62bd829218f81b34e776b5c8cac2b16a7dc5d4c679d81fe20c62cf1a22d8b6aba784df1cc2c52e WHIRLPOOL 36084ecb986bf50ca83378869dd9dbc636f36352ecf86301d0ac73e5ace44ad08a943e54e0fb5d5f8c4a7fd8605aad700427b25f1cbf9cf0d219081d025b07b7
+MISC metadata.xml 914 SHA256 b7651e2c8051c8b35a3c1080d50f1ba811ea40c42e8fb8e2eefd80a2b12832ae SHA512 515a5bcd6c70fc87309cd4e3822d83e1b8fdf52e58cbf331df0c38b9096ad2410dfdad14aed100ea0a53457f57ecdf2b61b910b6a52765219815e1872872ee0c WHIRLPOOL 237a1084550bbce7ddee98681b87fdcd6207c1f6cc40ff1aad1f623a5cd47f1ba3f3c6ae8558399264d52ada246b22cef53f59e2392c376e89524d50623d9524
diff --git a/sys-devel/gdb/files/gdb-7.11-linux_nat.patch b/sys-devel/gdb/files/gdb-7.11-linux_nat.patch
new file mode 100644
index 0000000..b10b7f2
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-7.11-linux_nat.patch
@@ -0,0 +1,23 @@
+diff -Naurw gdb-7.11.orig/gdb/linux-nat.c gdb-7.11/gdb/linux-nat.c
+--- gdb-7.11.orig/gdb/linux-nat.c 2016-02-09 19:19:39.000000000 -0800
++++ gdb-7.11/gdb/linux-nat.c 2016-02-24 15:34:29.115801748 -0800
+@@ -186,6 +186,10 @@
+ #define O_LARGEFILE 0
+ #endif
+
++#ifndef W_STOPCODE
++#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
++#endif
++
+ /* Does the current host support PTRACE_GETREGSET? */
+ enum tribool have_ptrace_getregset = TRIBOOL_UNKNOWN;
+
+@@ -4850,6 +4854,6 @@
+ /* NPTL reserves the first two RT signals, but does not provide any
+ way for the debugger to query the signal numbers - fortunately
+ they don't change. */
+- sigaddset (set, __SIGRTMIN);
+- sigaddset (set, __SIGRTMIN + 1);
++ sigaddset (set, SIGRTMIN);
++ sigaddset (set, SIGRTMIN + 1);
+ }
diff --git a/sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch b/sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch
new file mode 100644
index 0000000..a2598da
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch
@@ -0,0 +1,11 @@
+diff -Naur gdb-7.11.orig/gdb/gdbserver/target.h gdb-7.11/gdb/gdbserver/target.h
+--- gdb-7.11.orig/gdb/gdbserver/target.h 2016-02-09 19:19:39.000000000 -0800
++++ gdb-7.11/gdb/gdbserver/target.h 2016-02-24 15:40:02.961881411 -0800
+@@ -21,6 +21,7 @@
+ #ifndef TARGET_H
+ #define TARGET_H
+
++#include <sys/stat.h>
+ #include <sys/types.h> /* for mode_t */
+ #include "target/target.h"
+ #include "target/resume.h"
diff --git a/sys-devel/gdb/gdb-7.10.1-r99.ebuild b/sys-devel/gdb/gdb-7.10.1.ebuild
index 7cb2dbd..3956b5d 100644
--- a/sys-devel/gdb/gdb-7.10.1-r99.ebuild
+++ b/sys-devel/gdb/gdb-7.10.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit flag-o-matic eutils python-single-r1
@@ -57,9 +57,10 @@ SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.x
LICENSE="GPL-2 LGPL-2"
SLOT="0"
if [[ ${PV} != 9999* ]] ; then
- KEYWORDS="amd64 arm ~mips ppc x86"
+ # alpha #562128
+ KEYWORDS="-alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
-IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib"
+IUSE="+client expat lzma multitarget nls +python +server test vanilla"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
|| ( client server )
@@ -72,7 +73,7 @@ RDEPEND="server? ( !dev-util/gdbserver )
expat? ( dev-libs/expat )
lzma? ( app-arch/xz-utils )
python? ( ${PYTHON_DEPS} )
- zlib? ( sys-libs/zlib )
+ sys-libs/zlib
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
@@ -153,13 +154,16 @@ src_configure() {
# For gdb itself, it'll use the system version.
--disable-readline
--with-system-readline
+ # This only disables building in the zlib subdir.
+ # For gdb itself, it'll use the system version.
+ --without-zlib
+ --with-system-zlib
--with-separate-debug-dir="${EPREFIX}"/usr/lib/debug
$(use_with expat)
$(use_with lzma)
$(use_enable nls)
$(use multitarget && echo --enable-targets=all)
$(use_with python python "${EPYTHON}")
- $(use_with zlib)
)
fi
@@ -196,7 +200,7 @@ src_install() {
return 0
fi
# Install it by hand for now:
- # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html
+ # https://sourceware.org/ml/gdb-patches/2011-12/msg00915.html
# Only install if it exists due to the twisted behavior (see
# notes in src_configure above).
[[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay
diff --git a/sys-devel/gdb/gdb-7.12.ebuild b/sys-devel/gdb/gdb-7.12.ebuild
new file mode 100644
index 0000000..b4d091c
--- /dev/null
+++ b/sys-devel/gdb/gdb-7.12.ebuild
@@ -0,0 +1,238 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit flag-o-matic eutils python-single-r1
+
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY} == cross-* ]] ; then
+ export CTARGET=${CATEGORY#cross-}
+ fi
+fi
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+RPM=
+MY_PV=${PV}
+case ${PV} in
+9999*)
+ # live git tree
+ EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git"
+ inherit git-2
+ SRC_URI=""
+ ;;
+*.*.50.2???????)
+ # weekly snapshots
+ SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz"
+ ;;
+*.*.*.*.*.*)
+ # fedora versions; note we swap the rpm & fedora core versions.
+ # gdb-6.8.50.20090302-8.fc11.src.rpm -> gdb-6.8.50.20090302.11.8.ebuild
+ # gdb-7.9-11.fc23.src.rpm -> gdb-7.9.23.11.ebuild
+ inherit versionator rpm
+ gvcr() { get_version_component_range "$@"; }
+ parse_fedora_ver() {
+ set -- $(get_version_components)
+ MY_PV=$(gvcr 1-$(( $# - 2 )))
+ RPM="${PN}-${MY_PV}-$(gvcr $#).fc$(gvcr $(( $# - 1 ))).src.rpm"
+ }
+ parse_fedora_ver
+ SRC_URI="mirror://fedora-dev/development/rawhide/source/SRPMS/g/${RPM}"
+ ;;
+*)
+ # Normal upstream release
+ SRC_URI="mirror://gnu/gdb/${P}.tar.xz
+ ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz"
+ ;;
+esac
+
+PATCH_VER=""
+DESCRIPTION="GNU debugger"
+HOMEPAGE="https://sourceware.org/gdb/"
+SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+if [[ ${PV} != 9999* ]] ; then
+ # alpha #562128
+ KEYWORDS="-alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+IUSE="+client lzma multitarget nls +python +server test vanilla xml"
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ || ( client server )
+"
+
+RDEPEND="server? ( !dev-util/gdbserver )
+ client? (
+ >=sys-libs/ncurses-5.2-r2:0=
+ sys-libs/readline:0=
+ lzma? ( app-arch/xz-utils )
+ python? ( ${PYTHON_DEPS} )
+ xml? ( dev-libs/expat )
+ sys-libs/zlib
+ )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ client? (
+ virtual/yacc
+ test? ( dev-util/dejagnu )
+ nls? ( sys-devel/gettext )
+ )"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec
+ ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+
+ epatch "${FILESDIR}"/${PN}-7.11-linux_nat.patch
+ epatch "${FILESDIR}"/${PN}-7.11-missing-stat_h.patch
+
+ epatch_user
+ strip-linguas -u bfd/po opcodes/po
+}
+
+gdb_branding() {
+ printf "Gentoo ${PV} "
+ if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then
+ printf "p${PATCH_VER}"
+ else
+ printf "vanilla"
+ fi
+ [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}"
+}
+
+src_configure() {
+ strip-unsupported-flags
+
+ local myconf=(
+ --with-pkgversion="$(gdb_branding)"
+ --with-bugurl='https://bugs.gentoo.org/'
+ --disable-werror
+ # Disable modules that are in a combined binutils/gdb tree. #490566
+ --disable-{binutils,etc,gas,gold,gprof,ld}
+ )
+ local sysroot="${EPREFIX}/usr/${CTARGET}"
+ is_cross && myconf+=(
+ --with-sysroot="${sysroot}"
+ --includedir="${sysroot}/usr/include"
+ --with-gdb-datadir="\${datadir}/gdb/${CTARGET}"
+ )
+
+ if use server && ! use client ; then
+ # just configure+build in the gdbserver subdir to speed things up
+ cd gdb/gdbserver
+ myconf+=( --program-transform-name='' )
+ else
+ # gdbserver only works for native targets (CHOST==CTARGET).
+ # it also doesn't support all targets, so rather than duplicate
+ # the target list (which changes between versions), use the
+ # "auto" value when things are turned on.
+ is_cross \
+ && myconf+=( --disable-gdbserver ) \
+ || myconf+=( $(use_enable server gdbserver auto) )
+ fi
+
+ if ! ( use server && ! use client ) ; then
+ # if we are configuring in the top level, then use all
+ # the additional global options
+ myconf+=(
+ --enable-64-bit-bfd
+ --disable-install-libbfd
+ --disable-install-libiberty
+ # Disable guile for now as it requires guile-2.x #562902
+ --without-guile
+ # This only disables building in the readline subdir.
+ # For gdb itself, it'll use the system version.
+ --disable-readline
+ --with-system-readline
+ # This only disables building in the zlib subdir.
+ # For gdb itself, it'll use the system version.
+ --without-zlib
+ --with-system-zlib
+ --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug
+ $(use_with xml expat)
+ $(use_with lzma)
+ $(use_enable nls)
+ $(use multitarget && echo --enable-targets=all)
+ $(use_with python python "${EPYTHON}")
+ )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ nonfatal emake check || ewarn "tests failed"
+}
+
+src_install() {
+ use server && ! use client && cd gdb/gdbserver
+ default
+ use client && find "${ED}"/usr -name libiberty.a -delete
+ cd "${S}"
+
+ # Delete translations that conflict with binutils-libs. #528088
+ # Note: Should figure out how to store these in an internal gdb dir.
+ if use nls ; then
+ find "${ED}" \
+ -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \
+ -delete
+ fi
+
+ # Don't install docs when building a cross-gdb
+ if [[ ${CTARGET} != ${CHOST} ]] ; then
+ rm -r "${ED}"/usr/share/{doc,info,locale}
+ local f
+ for f in "${ED}"/usr/share/man/*/* ; do
+ if [[ ${f##*/} != ${CTARGET}-* ]] ; then
+ mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die
+ fi
+ done
+ return 0
+ fi
+ # Install it by hand for now:
+ # https://sourceware.org/ml/gdb-patches/2011-12/msg00915.html
+ # Only install if it exists due to the twisted behavior (see
+ # notes in src_configure above).
+ [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay
+
+ if use client ; then
+ docinto gdb
+ dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \
+ gdb/NEWS gdb/ChangeLog gdb/PROBLEMS
+ fi
+ docinto sim
+ dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING}
+ if use server ; then
+ docinto gdbserver
+ dodoc gdb/gdbserver/{ChangeLog,README}
+ fi
+
+ if [[ -n ${PATCH_VER} ]] ; then
+ dodoc "${WORKDIR}"/extra/gdbinit.sample
+ fi
+
+ # Remove shared info pages
+ rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info*
+}
+
+pkg_postinst() {
+ # portage sucks and doesnt unmerge files in /etc
+ rm -vf "${EROOT}"/etc/skel/.gdbinit
+
+ if use prefix && [[ ${CHOST} == *-darwin* ]] ; then
+ ewarn "gdb is unable to get a mach task port when installed by Prefix"
+ ewarn "Portage, unprivileged. To make gdb fully functional you'll"
+ ewarn "have to perform the following steps:"
+ ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb"
+ ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb"
+ fi
+}
diff --git a/sys-devel/gdb/metadata.xml b/sys-devel/gdb/metadata.xml
index e2ea101..d11b1ea 100644
--- a/sys-devel/gdb/metadata.xml
+++ b/sys-devel/gdb/metadata.xml
@@ -11,6 +11,7 @@
<flag name="multitarget">Support all known targets in one gdb binary</flag>
<flag name="python">Enable support for the new internal scripting language, as well as extended pretty printers</flag>
<flag name="server">Install the "gdbserver" program (useful for embedded/remote targets)</flag>
+ <flag name="xml">Support parsing XML data files needed (at least) for cpu features, memory maps, and syscall tracing</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:gnu:gdb</remote-id>