From: "Aric Belsito" <lluixhi@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: sys-devel/gdb/files/, sys-devel/gdb/
Date: Tue, 6 Dec 2016 21:01:21 +0000 (UTC) [thread overview]
Message-ID: <1481057644.6f9640e70a7720ce2e243e5547c8619e9e6d436e.lluixhi@gentoo> (raw)
commit: 6f9640e70a7720ce2e243e5547c8619e9e6d436e
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Tue Dec 6 20:54:04 2016 +0000
Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com>
CommitDate: Tue Dec 6 20:54:04 2016 +0000
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=6f9640e7
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
sys-devel/gdb/Manifest | 8 +++++--
sys-devel/gdb/files/gdb-7.11-linux_nat.patch | 23 ++++++++++++++++++
sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch | 11 +++++++++
.../{gdb-7.10.1-r99.ebuild => gdb-7.10.1.ebuild} | 18 +++++++++------
.../gdb/{gdb-7.10.1-r99.ebuild => gdb-7.12.ebuild} | 27 ++++++++++++----------
sys-devel/gdb/metadata.xml | 1 +
6 files changed, 67 insertions(+), 21 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
similarity index 91%
copy from sys-devel/gdb/gdb-7.10.1-r99.ebuild
copy to 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.10.1-r99.ebuild b/sys-devel/gdb/gdb-7.12.ebuild
similarity index 88%
rename from sys-devel/gdb/gdb-7.10.1-r99.ebuild
rename to sys-devel/gdb/gdb-7.12.ebuild
index 7cb2dbd..b4d091c 100644
--- a/sys-devel/gdb/gdb-7.10.1-r99.ebuild
+++ b/sys-devel/gdb/gdb-7.12.ebuild
@@ -1,9 +1,8 @@
# Copyright 1999-2016 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
@@ -51,15 +50,16 @@ esac
PATCH_VER=""
DESCRIPTION="GNU debugger"
-HOMEPAGE="http://sourceware.org/gdb/"
+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
- 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 lzma multitarget nls +python +server test vanilla xml"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
|| ( client server )
@@ -69,10 +69,10 @@ RDEPEND="server? ( !dev-util/gdbserver )
client? (
>=sys-libs/ncurses-5.2-r2:0=
sys-libs/readline:0=
- expat? ( dev-libs/expat )
lzma? ( app-arch/xz-utils )
python? ( ${PYTHON_DEPS} )
- zlib? ( sys-libs/zlib )
+ xml? ( dev-libs/expat )
+ sys-libs/zlib
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
@@ -92,8 +92,8 @@ src_prepare() {
[[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec
! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
- epatch "${FILESDIR}"/${PN}-linux_nat.patch
- epatch "${FILESDIR}"/${PN}-missing-stat_h.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
@@ -153,13 +153,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 xml expat)
$(use_with lzma)
$(use_enable nls)
$(use multitarget && echo --enable-targets=all)
$(use_with python python "${EPYTHON}")
- $(use_with zlib)
)
fi
@@ -196,7 +199,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/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>
next reply other threads:[~2016-12-06 21:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-06 21:01 Aric Belsito [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-31 0:32 [gentoo-commits] proj/musl:master commit in: sys-devel/gdb/files/, sys-devel/gdb/ Sam James
2021-02-24 14:30 Jory Pratt
2016-02-12 0:50 Anthony G. Basile
2016-01-22 17:55 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1481057644.6f9640e70a7720ce2e243e5547c8619e9e6d436e.lluixhi@gentoo \
--to=lluixhi@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox