[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb-apple/
commit: 03a039ba5ea4a7ba6ef03b8b46ae8a6bbe6c3414 Author: Fabian Groffen gentoo org> AuthorDate: Thu Jan 7 08:28:44 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Thu Jan 7 08:28:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a039ba sys-devel/gdb-apple: drop handling for x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> sys-devel/gdb-apple/gdb-apple-1752.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-devel/gdb-apple/gdb-apple-1752.ebuild b/sys-devel/gdb-apple/gdb-apple-1752.ebuild index 9022fa9d743..512a1d0cb6f 100644 --- a/sys-devel/gdb-apple/gdb-apple-1752.ebuild +++ b/sys-devel/gdb-apple/gdb-apple-1752.ebuild @@ -86,7 +86,7 @@ pkg_postinst() { ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" fi - if use x86-macos || use x64-macos ; then + if [[ ${CHOST} == *86* ]] ; then einfo "FSF gdb works on Intel-based OSX platforms, sometimes even" einfo "better than gdb-apple. You can consider installing FSF gdb" einfo "instead of gdb-apple, since the FSF version is surely more"
[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb-apple/
commit: ab02facba5d8aadc22f99a51fcdf23db2af5f970 Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 6 15:30:12 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 6 15:30:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab02facb sys-devel/gdb-apple: drop x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> sys-devel/gdb-apple/gdb-apple-1752.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-devel/gdb-apple/gdb-apple-1752.ebuild b/sys-devel/gdb-apple/gdb-apple-1752.ebuild index 05d3827575a..9022fa9d743 100644 --- a/sys-devel/gdb-apple/gdb-apple-1752.ebuild +++ b/sys-devel/gdb-apple/gdb-apple-1752.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${APPLE LICENSE="APSL-2 GPL-2" SLOT="0" -KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~ppc-macos ~x64-macos" IUSE="nls"
[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb-apple/files/, sys-devel/gdb-apple/
commit: 03ca854695bdb9ed363b0b32593acbdd0f3d04cc Author: Fabian Groffen gentoo org> AuthorDate: Thu Jan 10 14:28:05 2019 + Commit: Fabian Groffen gentoo org> CommitDate: Thu Jan 10 14:28:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ca8546 sys-devel/gdb-apple: remove obviated versions Signed-off-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-devel/gdb-apple/Manifest | 3 - .../gdb-apple/files/gdb-apple-1461-darwin8.patch | 128 - .../gdb-apple/files/gdb-apple-1461-dyld-info.patch | 22 .../files/gdb-apple-768-darwin-arch.patch | 15 --- .../gdb-apple/files/gdb-apple-962-darwin64.patch | 17 --- .../gdb-apple/files/gdb-apple-962-darwin8.patch| 15 --- .../gdb-apple/files/gdb-apple-962-demangle.patch | 22 sys-devel/gdb-apple/gdb-apple-1461.ebuild | 68 --- sys-devel/gdb-apple/gdb-apple-768-r1.ebuild| 52 - sys-devel/gdb-apple/gdb-apple-966.ebuild | 66 --- 10 files changed, 408 deletions(-) diff --git a/sys-devel/gdb-apple/Manifest b/sys-devel/gdb-apple/Manifest index eee15d636e1..d52e9873b52 100644 --- a/sys-devel/gdb-apple/Manifest +++ b/sys-devel/gdb-apple/Manifest @@ -1,4 +1 @@ -DIST gdb-1461.2.tar.gz 17951571 BLAKE2B 53871df6574c73b37ce0a7ee353eca1fa81a6be4b6389ee41a9a140d091579df98f5fe44e0dfb9a14a0309cc3510c566a5af73af231a9070f55308434ea6373a SHA512 2d8b11ed575e26176a8f93eb7d2fbc052313114ffce10f0da6888ff9e7c30067d4db6d89c9443187bf7167823dfd631a7f56fe718160b5653791080df9b8163d DIST gdb-1752.tar.gz 17922994 BLAKE2B 9b27bca2b6a9f10e01d130d595270300a4e7f0040790c5b60337d41086e1238dc12d785cc88c484df630f742ddfe783f7baefc2132b47e41bb74a5d0b7ebbf1e SHA512 863a861a9a7708b8a763ea93599f6b519277f23fff35700d04e81a7747cc49421d0f051790deb92c440ced30ee15ba719b75066d5a614341e0f0b765d7a81094 -DIST gdb-768.tar.gz 17727326 BLAKE2B 9c233204d276c673f4f653888f947ecc73cb9e09c0cd9dd3879a0e47f2b50942a38513826c005cb3bd04019fbac5f7c01860f98304884ba8d3c81b63cffc89ac SHA512 40395d2e8ca30bb7aa0bbb0b270cbb9c18decc5a8fb37a764d43770e234b6281528d6feb301bcd97033c624c196851283fdbfc131f0336772a1e6e4b0168ae47 -DIST gdb-966.tar.gz 17769429 BLAKE2B c27a8fb6884eabf56855817fbcca2e0566df834d541bee1cf87954bdafd82d6eac673d46026ca8101ea5b2ac3ad1da14bcc9d9bf5a20fade099fdd7df54d6936 SHA512 daaf6f0329e311d46d82734df87fd501f70281edb511a8eb9123b6288a6a97f84725acc0f1c5e67dee3dc3e00cfa31bf7fc20594fbf3827a0ea35414f5ef7434 diff --git a/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch b/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch deleted file mode 100644 index c89c82a0d18..000 --- a/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch +++ /dev/null @@ -1,128 +0,0 @@ a/gdb/macosx/macosx-nat-inferior.c -+++ b/gdb/macosx/macosx-nat-inferior.c -@@ -60,13 +60,17 @@ - #include - #include - #include -+#if defined(TARGET_ARM) - #include -+#endif - - #include - - #include -+#if 0 - #include - #include -+#endif - - #include "macosx-nat-dyld.h" - #include "macosx-nat-inferior.h" a/gdb/macosx/macosx-nat-info.c -+++ b/gdb/macosx/macosx-nat-info.c -@@ -45,6 +45,22 @@ - #include "macosx-nat-inferior.h" - #include "macosx-nat-inferior-debug.h" - -+#ifdef __ppc__ -+#ifndef __darwin_ppc_thread_state -+#define __darwin_ppc_thread_state ppc_thread_state -+#define __r0 r0 -+#define __srr0 srr0 -+#define __srr1 srr1 -+#define __cr cr -+#define __xer xer -+#define __lr lr -+#define __ctr ctr -+#endif -+#ifndef __darwin_ppc_exception_state -+#define __darwin_ppc_exception_state ppc_exception_state -+#endif -+#endif -+ - extern macosx_inferior_status *macosx_status; - - #define CHECK_ARGS(what, args) \ a/gdb/macosx/macosx-nat-infthread.c -+++ b/gdb/macosx/macosx-nat-infthread.c -@@ -36,8 +36,10 @@ - #include - #include - -+#if 0 - #include - #include -+#endif - - #include "macosx-nat-inferior.h" - #include "macosx-nat-inferior-util.h" a/gdb/macosx/macosx-tdep.c -+++ b/gdb/macosx/macosx-tdep.c -@@ -63,7 +63,6 @@ - #include "gdbcore.h" - - #include --#include - #include - #include - #include a/gdb/remote.c -+++ b/gdb/remote.c -@@ -62,7 +62,6 @@ - #include "macosx-nat-dyld.h" - #include "macosx-nat-dyld-process.h" - #endif --#include - - /* Prototypes for local functions. */ - static void cleanup_sigint_signal_handler (void *dummy); -@@ -474,11 +473,13 @@ - static void - remote_backtrace_self (const char *message) - { -+#if 0 - void *bt_buffer[100]; - int count = backtrace (bt_buffer, 100); - if (message && message[0]) - fprintf_filtered (gdb_stderr, "%s", message); - backtrace_symbols_fd (bt_buffer, count, STDERR_FILENO); -+#endif - } - - static void a/gdb/symfile.c -+++ b/gdb/symfile.c -@@ -67,7 +67,6 @@ - #include - #include - #include --#include - - #include - a/gdb/utils.c -+++ b/gdb/utils.c -@@ -2
[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb-apple/
commit: a7329c5d4baefb7120d30f8afa3e0ed80cb75899 Author: Fabian Groffen gentoo org> AuthorDate: Thu Jan 10 14:21:09 2019 + Commit: Fabian Groffen gentoo org> CommitDate: Thu Jan 10 14:28:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7329c5d sys-devel/gdb-apple: use system readline iso bundled one in addition, ignore doc generation, current versions of texinfo are too new Signed-off-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-devel/gdb-apple/gdb-apple-1752.ebuild | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/sys-devel/gdb-apple/gdb-apple-1752.ebuild b/sys-devel/gdb-apple/gdb-apple-1752.ebuild index 26baa8079e9..6f9458c8f08 100644 --- a/sys-devel/gdb-apple/gdb-apple-1752.ebuild +++ b/sys-devel/gdb-apple/gdb-apple-1752.ebuild @@ -17,7 +17,8 @@ KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="nls" -RDEPEND=">=sys-libs/ncurses-5.2-r2 +RDEPEND=">=sys-libs/ncurses-5.2-r2:0= + sys-libs/readline:0= =dev-db/sqlite-3*" DEPEND="${RDEPEND} nls? ( sys-devel/gettext ) @@ -35,13 +36,20 @@ PATCHES=( src_prepare() { default [[ ${CHOST} == *-darwin8 ]] && eapply "${FILESDIR}"/${PN}-1518-darwin8.patch + + # use host readline + sed -i -e '/host_libs/s/readline//' configure.in configure || die + sed -i \ + -e '/^\(READLINE\|readline\)_/s/=.*$/=/' \ + -e '/^READLINE /s/=.*$/= -lreadline/' \ + gdb/Makefile.in || die } src_configure() { if tc-is-gcc ; then # force gcc-apple, FSF gcc doesn't grok this code - export CC=${CTARGET}-gcc-4.2.1 - export CXX=${CTARGET}-g++-4.2.1 + export CC=${CTARGET:-${CHOST}}-gcc-4.2.1 + export CXX=${CTARGET:-${CHOST}}-g++-4.2.1 fi replace-flags -O? -O2 @@ -54,11 +62,15 @@ src_configure() { src_compile() { # unable to work around parallel make issue - emake -j2 || die + # ignore texinfo issues (version mismatch, to hard to fix or + # disable) + emake -j2 MAKEINFOFLAGS="--force" || die } src_install() { - emake -j2 DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die + emake -j2 \ + DESTDIR="${D}" libdir=/nukeme includedir=/nukeme \ + MAKEINFOFLAGS="--force" install || die rm -R "${D}"/nukeme || die rm -Rf "${ED}"/usr/${CHOST} || die mv "${ED}"/usr/bin/gdb "${ED}"/
[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb-apple/
commit: 7039cef85032e6e9f65585a879aa6196f50d3b1b Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 9 14:09:17 2019 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 9 14:09:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7039cef8 sys-devel/gdb-apple: force compilation with gcc-apple when not clang Signed-off-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-devel/gdb-apple/gdb-apple-1752.ebuild | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sys-devel/gdb-apple/gdb-apple-1752.ebuild b/sys-devel/gdb-apple/gdb-apple-1752.ebuild index f374628fb7d..26baa8079e9 100644 --- a/sys-devel/gdb-apple/gdb-apple-1752.ebuild +++ b/sys-devel/gdb-apple/gdb-apple-1752.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils flag-o-matic +inherit eutils flag-o-matic toolchain-funcs APPLE_PV=${PV} DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 4.3" @@ -20,7 +20,8 @@ IUSE="nls" RDEPEND=">=sys-libs/ncurses-5.2-r2 =dev-db/sqlite-3*" DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" + nls? ( sys-devel/gettext ) + || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm:* )" S=${WORKDIR}/gdb-${APPLE_PV}/src @@ -37,6 +38,12 @@ src_prepare() { } src_configure() { + if tc-is-gcc ; then + # force gcc-apple, FSF gcc doesn't grok this code + export CC=${CTARGET}-gcc-4.2.1 + export CXX=${CTARGET}-g++-4.2.1 + fi + replace-flags -O? -O2 econf \ --disable-werror \
[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb-apple/files/, sys-devel/gdb-apple/
commit: 723fdafd10de6568b6348ad7233d3dc26757995e Author: Marty E. Plummer startmail com> AuthorDate: Fri Apr 20 15:32:50 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Mon Apr 23 14:53:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=723fdafd sys-devel/gdb-apple: epatch->PATCHES=() Also reworked patches to be -p1 (tricky due to the wierd ${S} setting. Package-Manager: Portage-2.3.31, Repoman-2.3.9 .../gdb-apple/files/gdb-apple-1461-darwin8.patch | 28 +++--- .../gdb-apple/files/gdb-apple-1461-dyld-info.patch | 4 ++-- sys-devel/gdb-apple/gdb-apple-1461.ebuild | 18 +++--- sys-devel/gdb-apple/gdb-apple-1752.ebuild | 20 +--- sys-devel/gdb-apple/gdb-apple-768-r1.ebuild| 15 ++-- sys-devel/gdb-apple/gdb-apple-966.ebuild | 21 6 files changed, 56 insertions(+), 50 deletions(-) diff --git a/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch b/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch index 40ef761e8f7..c89c82a0d18 100644 --- a/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch +++ b/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch @@ -1,5 +1,5 @@ gdb-1461.2/src/gdb/macosx/macosx-nat-inferior.c -+++ gdb-1461.2/src/gdb/macosx/macosx-nat-inferior.c +--- a/gdb/macosx/macosx-nat-inferior.c b/gdb/macosx/macosx-nat-inferior.c @@ -60,13 +60,17 @@ #include #include @@ -18,8 +18,8 @@ #include "macosx-nat-dyld.h" #include "macosx-nat-inferior.h" gdb-1461.2/src/gdb/macosx/macosx-nat-info.c -+++ gdb-1461.2/src/gdb/macosx/macosx-nat-info.c +--- a/gdb/macosx/macosx-nat-info.c b/gdb/macosx/macosx-nat-info.c @@ -45,6 +45,22 @@ #include "macosx-nat-inferior.h" #include "macosx-nat-inferior-debug.h" @@ -43,8 +43,8 @@ extern macosx_inferior_status *macosx_status; #define CHECK_ARGS(what, args) \ gdb-1461.2/src/gdb/macosx/macosx-nat-infthread.c -+++ gdb-1461.2/src/gdb/macosx/macosx-nat-infthread.c +--- a/gdb/macosx/macosx-nat-infthread.c b/gdb/macosx/macosx-nat-infthread.c @@ -36,8 +36,10 @@ #include #include @@ -56,8 +56,8 @@ #include "macosx-nat-inferior.h" #include "macosx-nat-inferior-util.h" gdb-1461.2/src/gdb/macosx/macosx-tdep.c -+++ gdb-1461.2/src/gdb/macosx/macosx-tdep.c +--- a/gdb/macosx/macosx-tdep.c b/gdb/macosx/macosx-tdep.c @@ -63,7 +63,6 @@ #include "gdbcore.h" @@ -66,8 +66,8 @@ #include #include #include gdb-1461.2/src/gdb/remote.c -+++ gdb-1461.2/src/gdb/remote.c +--- a/gdb/remote.c b/gdb/remote.c @@ -62,7 +62,6 @@ #include "macosx-nat-dyld.h" #include "macosx-nat-dyld-process.h" @@ -90,8 +90,8 @@ } static void gdb-1461.2/src/gdb/symfile.c -+++ gdb-1461.2/src/gdb/symfile.c +--- a/gdb/symfile.c b/gdb/symfile.c @@ -67,7 +67,6 @@ #include #include @@ -100,8 +100,8 @@ #include gdb-1461.2/src/gdb/utils.c -+++ gdb-1461.2/src/gdb/utils.c +--- a/gdb/utils.c b/gdb/utils.c @@ -27,7 +27,6 @@ #include "gdb_string.h" #include "event-top.h" diff --git a/sys-devel/gdb-apple/files/gdb-apple-1461-dyld-info.patch b/sys-devel/gdb-apple/files/gdb-apple-1461-dyld-info.patch index 75b91043227..fb9ca9c7411 100644 --- a/sys-devel/gdb-apple/files/gdb-apple-1461-dyld-info.patch +++ b/sys-devel/gdb-apple/files/gdb-apple-1461-dyld-info.patch @@ -1,8 +1,8 @@ If dyld-info is not available, don't try to compile unreachable code using it either. gdb-1461.2/src/gdb/macosx/macosx-nat-dyld.c -+++ gdb-1461.2/src/gdb/macosx/macosx-nat-dyld.c +--- a/gdb/macosx/macosx-nat-dyld.c b/gdb/macosx/macosx-nat-dyld.c @@ -731,7 +731,7 @@ { #if !defined (TASK_DYLD_INFO) || !defined (NM_NEXTSTEP) diff --git a/sys-devel/gdb-apple/gdb-apple-1461.ebuild b/sys-devel/gdb-apple/gdb-apple-1461.ebuild index 39484c62c31..7127e61d244 100644 --- a/sys-devel/gdb-apple/gdb-apple-1461.ebuild +++ b/sys-devel/gdb-apple/gdb-apple-1461.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=6 inherit eutils flag-o-matic @@ -24,16 +24,18 @@ DEPEND="${RDEPEND} S=${WORKDIR}/gdb-${APPLE_PV}/src +PATCHES=( + "${FILESDIR}"/${PN}-no-global-gdbinit.patch + "${FILESDIR}"/${PN}-768-texinfo.patch + "${FILESDIR}"/${P}-dyld-info.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-no-global-gdbinit.patch - epatch "${FILESDIR}"/${PN}-768-texinfo.patch - epatch "${FILESDIR}"/${P}-dyld-info.patch - [[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${P}-darwin8.patch + default + [[ ${CHOST} == *-darwin8 ]] && eapply "${FILESDIR}"/${P}-darwin8.patch # for FSF gcc / gcc-apple:42 sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh - - eapply_user } src_configure() { diff --git a/sys-devel/gdb-apple/gdb-a
[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb-apple/files/
commit: 7977dfb488bd1da7d86f27afbe2611f75c9c8018 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun Dec 3 08:49:28 2017 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Dec 3 10:11:01 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7977dfb4 sys-devel/gdb-apple: remove unused patches Signed-off-by: Fabian Groffen gentoo.org> .../gdb-apple/files/gdb-apple-1344-darwin8.patch | 131 - .../files/gdb-apple-1518-task_dyld_info.patch | 22 .../gdb-apple/files/gdb-apple-563-darwin7.patch| 110 - .../gdb-apple/files/gdb-apple-563-no-64bit.patch | 19 --- 4 files changed, 282 deletions(-) diff --git a/sys-devel/gdb-apple/files/gdb-apple-1344-darwin8.patch b/sys-devel/gdb-apple/files/gdb-apple-1344-darwin8.patch deleted file mode 100644 index c95f02e0fe2..000 --- a/sys-devel/gdb-apple/files/gdb-apple-1344-darwin8.patch +++ /dev/null @@ -1,131 +0,0 @@ src/gdb/symfile.c.orig 2009-09-25 09:00:15 +0200 -+++ src/gdb/symfile.c 2009-09-25 09:00:18 +0200 -@@ -67,7 +67,6 @@ - #include - #include - #include --#include - - #include - src/gdb/utils.c.orig 2009-09-25 09:06:29 +0200 -+++ src/gdb/utils.c2009-09-25 09:46:24 +0200 -@@ -27,7 +27,6 @@ - #include "gdb_string.h" - #include "event-top.h" - #include "exceptions.h" --#include - - #ifdef TUI - #include "tui/tui.h" /* For tui_get_command_dimension. */ -@@ -878,6 +877,7 @@ - target_terminal_ours (); - begin_line (); - -+#if 0 - /* APPLE LOCAL: Do a stack crawl of how we got here so we're more likely - to get useful bug reports. */ - { -@@ -886,6 +886,7 @@ - fprintf (stderr, "gdb stack crawl at point of internal error:\n"); - backtrace_symbols_fd (bt_buffer, count, STDERR_FILENO); - } -+#endif - - /* Create a string containing the full error/warning message. Need - to call query with this full string, as otherwize the reason src/gdb/remote.c.orig 2009-09-25 09:31:58 +0200 -+++ src/gdb/remote.c 2009-09-25 09:48:18 +0200 -@@ -61,7 +61,6 @@ - #ifdef MACOSX_DYLD - #include "macosx-nat-dyld.h" - #endif --#include - - /* Prototypes for local functions. */ - static void cleanup_sigint_signal_handler (void *dummy); -@@ -483,10 +482,12 @@ - static void - remote_backtrace_self () - { -+#if 0 - void *bt_buffer[10]; - int count = backtrace (bt_buffer, 10); - fprintf_filtered (gdb_stderr, "gdb stack crawl at point of invalid hex digit:\n"); - backtrace_symbols_fd (bt_buffer, count, STDERR_FILENO); -+#endif - } - - static void src/gdb/macosx/macosx-tdep.c.orig 2009-09-25 09:09:00 +0200 -+++ src/gdb/macosx/macosx-tdep.c 2009-09-25 09:09:12 +0200 -@@ -61,7 +61,6 @@ - #include "exceptions.h" - - #include --#include - #include - #include - #include src/gdb/macosx/macosx-nat-inferior.c.orig 2009-09-25 09:12:44 +0200 -+++ src/gdb/macosx/macosx-nat-inferior.c 2009-09-25 09:13:24 +0200 -@@ -62,8 +62,10 @@ - #include - - #include -+#if 0 - #include - #include -+#endif - - #include "macosx-nat-dyld.h" - #include "macosx-nat-inferior.h" -@@ -3261,8 +3263,10 @@ - int_flags |= RTLD_NOLOAD; - if (strstr (flags, "RTLD_NODELETE") != NULL) - int_flags |= RTLD_NODELETE; -+#ifdef RTLD_FIRST - if (strstr (flags, "RTLD_FIRST") != NULL) - int_flags |= RTLD_FIRST; -+#endif - } - - /* If the user didn't pass in anything, set some sensible defaults. */ src/gdb/macosx/macosx-nat-infthread.c.orig 2009-09-25 09:14:01 +0200 -+++ src/gdb/macosx/macosx-nat-infthread.c 2009-09-25 09:14:19 +0200 -@@ -36,8 +36,10 @@ - #include - #include - -+#if 0 - #include - #include -+#endif - - #include "macosx-nat-inferior.h" - #include "macosx-nat-inferior-util.h" src/gdb/macosx/macosx-nat-info.c.orig 2009-09-25 09:16:50 +0200 -+++ src/gdb/macosx/macosx-nat-info.c 2009-09-25 09:31:12 +0200 -@@ -45,6 +45,22 @@ - #include "macosx-nat-inferior.h" - #include "macosx-nat-inferior-debug.h" - -+#ifdef __ppc__ -+#ifndef __darwin_ppc_thread_state -+#define __darwin_ppc_thread_state ppc_thread_state -+#define __r0 r0 -+#define __srr0 srr0 -+#define __srr1 srr1 -+#define __cr cr -+#define __xer xer -+#define __lr lr -+#define __ctr ctr -+#endif -+#ifndef __darwin_ppc_exception_state -+#define __darwin_ppc_exception_state ppc_exception_state -+#endif -+#endif -+ - extern macosx_inferior_status *macosx_status; - - #define CHECK_ARGS(what, args) \ diff --git a/sys-devel/gdb-apple/files/gdb-apple-1518-task_dyld_info.patch b/sys-devel/gdb-apple/files/gdb-apple-1518-task_dyld_info.patch deleted file mode 100644 index 633a36a7a04..000 --- a/sys-devel/gdb-apple/files/gdb-apple-1518-task_dyld_info.patch +++ /dev/null @@ -1,22 +0,0 @@ -If dyld-info is not available, don't try to compile unreachable code -using it either. - gdb-1518/src/gdb/macosx/macosx-nat-dyld.c -+++ gdb
[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb-apple/
commit: 6008cdc6c2b8e4e5e1ff163b9b649ad9ffbe08fe Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 26 17:09:32 2017 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 26 17:10:06 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6008cdc6 sys-devel/gdb-apples: cleanup, bump ebuilds to EAPI=6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-devel/gdb-apple/Manifest| 8 sys-devel/gdb-apple/gdb-apple-1344.ebuild | 61 sys-devel/gdb-apple/gdb-apple-1346.ebuild | 61 sys-devel/gdb-apple/gdb-apple-1461.ebuild | 7 +-- sys-devel/gdb-apple/gdb-apple-1518.ebuild | 63 sys-devel/gdb-apple/gdb-apple-1705.ebuild | 74 - sys-devel/gdb-apple/gdb-apple-1708.ebuild | 74 - sys-devel/gdb-apple/gdb-apple-1752.ebuild | 7 +-- sys-devel/gdb-apple/gdb-apple-563.ebuild| 51 sys-devel/gdb-apple/gdb-apple-768-r1.ebuild | 7 +-- sys-devel/gdb-apple/gdb-apple-960.ebuild| 50 --- sys-devel/gdb-apple/gdb-apple-962.ebuild| 64 - sys-devel/gdb-apple/gdb-apple-966.ebuild| 7 +-- 13 files changed, 16 insertions(+), 518 deletions(-) diff --git a/sys-devel/gdb-apple/Manifest b/sys-devel/gdb-apple/Manifest index dbd5cc77c1..229ac875f1 100644 --- a/sys-devel/gdb-apple/Manifest +++ b/sys-devel/gdb-apple/Manifest @@ -1,12 +1,4 @@ -DIST gdb-1344.tar.gz 17916770 SHA256 96c37c4bd4e8446e7f22411ca3972ccb240e5cfc256fe0593b012f12fdbcb7a1 SHA512 8cbcb3cfd21fae2ecf8ef04c241b71607d96bb69e6c70232efee39337196668d4772a883228b3ae70ff94ea8bc4236be541833cf9a1d6acacd4d14b0b848d5fa WHIRLPOOL 580442bf1ca19ebf201e9b5e7472368306e6fb4b4c068e271a8d37e292672f29004b17916ac8c05c0fb95817e81123c2a60d3228b57e3db7130c30f9db78e48a -DIST gdb-1346.tar.gz 17913352 SHA256 1bda1693366e052150ce680d80a81df70cb8e61fe29fb3f9f3556e52ae141387 SHA512 f8b66955ab5dd35bcd1981ab8c835810f367e96ad074381aa9cfdf7de71d44dea58f054032c5446c7ec9b84c3b4224053ee38519556068b81a35186422666b04 WHIRLPOOL 6c624ad725a2d4ec991a87243adb7acb7eae933eac820b21cb66d78ca48b060720fa123efb20f3a8e5f80bae0d97f74c86dd72ef0dc09b2a4437312bc43aaa0f DIST gdb-1461.2.tar.gz 17951571 SHA256 91d8cdbcd9cf36377d9c2d425921141085b5c79a6dce312a3dc0b6960f8e02f9 SHA512 2d8b11ed575e26176a8f93eb7d2fbc052313114ffce10f0da6888ff9e7c30067d4db6d89c9443187bf7167823dfd631a7f56fe718160b5653791080df9b8163d WHIRLPOOL 20f0bcf5d9c7a5f42ff3d46e074ad94ed7bd6c89e61c6887a66b8f04fe5eb7dd3d9ad041af0ef3c5fd236b7c31faa40a51a2f90e6217bec59b56950de929 -DIST gdb-1518.tar.gz 17966113 SHA256 c3050f0be9cb60d86ffc5fd174da78bf986511a442526ef8b0eec1e77161f607 SHA512 241ddf90c53f0c2a867fba461772b2fdd535cf485b3e0076000c0442bb36d97cc046b79352d75d9d05c868dfb39992d8eb02c215481f7afd39644581d09f5996 WHIRLPOOL a25e3d91ac60548540a4c17c26c5f9bf3ab53d8a9517b820681cc66928c602094b5ed7bd11c90d5700a56b48a6de7a760efc5487835f52ad3cb5cffb477e0daf -DIST gdb-1705.tar.gz 17919005 SHA256 f0c4c145f2ef795c4742e0cd8b3f6a95f06c9985eee04a82260b62bdd8293d37 SHA512 7de0bf11a9bf6de7bdd586aada953269a71e01fa67078a5f0f203d232a1d9889b48ae295b17e2749c7f57dd824206b23ff404dfdb5c1428fa29bc9651c7db09b WHIRLPOOL 30e1e91d414f69f78f95e481316348e3cb37e3ed2c96875f815a59b829c07d636638f8ce4930fc55e4e5a05c7c768d90f164f13f5fbbe4e8ec3737657f4b57b4 -DIST gdb-1708.tar.gz 17922049 SHA256 6ef5a8e09a28c78d3b7cee32b2886f72206ce519acaff5791fa08b90c9f0e327 SHA512 985c9fb902ba87020b3671e74d9a0f843d9a721270f1f4c83d35c9e9190c2e254a7a6100d9b68f0e5806803e84d98d2a7c19b1b94db0ba78e7f4f07a8816f4b6 WHIRLPOOL d19169e4e659653287496787a47e97be46ddb9196682bcf7ef9212a75819167faf877ea7c93fd87b45326acc82caa528ac1d21f4217d3c8b01219b955a624b52 DIST gdb-1752.tar.gz 17922994 SHA256 8685227243cedc26954d175f28ed56ba5889410420aa888323e1eeaffb204ccf SHA512 863a861a9a7708b8a763ea93599f6b519277f23fff35700d04e81a7747cc49421d0f051790deb92c440ced30ee15ba719b75066d5a614341e0f0b765d7a81094 WHIRLPOOL f07fd8a5e3e8ed466a5f21df689c4b6b7f7deaafcfdb2a209573a1112c1720c423f87e1b82d559a0616aea0c089966ffe9d30e785112936469394a621c916611 -DIST gdb-563.tar.gz 17130626 SHA256 a41177e2edbac8982e01ca01dbd52bef65bd1604fb3a65278dd0f44509bb7179 SHA512 8bcc8adf779c5ffd169b24ad064bbd9abc55f5d420246a1fce411a0b74a4c7af66e5c4f6e40fe5ed1946ae5ddbddfbd79ffbc19e3e84331b4dfac1ad1c279ba6 WHIRLPOOL 9fb6675851100ed55280f5119862fdbe3970e247b9c914d8f1484b63fd95cfbfec4322fbef1a444e4f15b988f1cdd0bdc541808ec3ea00cfbcbe267f6ac463bd DIST gdb-768.tar.gz 17727326 SHA256 2342cbbf7c57dcc08011736c9823d5ca37415ba73c4b67d9984ed944f24d SHA512 40395d2e8ca30bb7aa0bbb0b270cbb9c18decc5a8fb37a764d43770e234b6281528d6feb301bcd97033c624c196851283fdbfc131f0336772a1e6e4b0168ae47 WHIRLPOOL a824e5ff903df33327827545ca8dad0401846f368e6feb3dc1b8fc9d9d2359e37302a6fd2773a6ec09ce7c71cae6082728cb9ee7d62ec28c4ede7f2fe0630c56 -DIST gdb-960.tar.gz 17875803 SHA256 9