From owner-svn-ports-all@FreeBSD.ORG Mon Aug 4 20:50:50 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82356181 for ; Mon, 4 Aug 2014 20:50:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 637982844 for ; Mon, 4 Aug 2014 20:50:50 +0000 (UTC) Received: from pi (uid 1338) (envelope-from pi@FreeBSD.org) id 5b36 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 04 Aug 2014 20:50:49 +0000 From: Kurt Jaeger Date: Mon, 4 Aug 2014 20:50:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364054 - in head/devel/gdb: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53dff22a.5b36.60be075d@svn.freebsd.org> X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 20:50:50 -0000 Author: pi Date: Mon Aug 4 20:50:49 2014 New Revision: 364054 URL: http://svnweb.freebsd.org/changeset/ports/364054 QAT: https://qat.redports.org/buildarchive/r364054/ Log: devel/gdb: 7.7.1 -> 7.8 For changes see also: http://www.gnu.org/software/gdb/download/ANNOUNCEMENT PR: 192323 Submitted by: yuri@rawbw.com Approved by: luca.pizzamiglio@gmail.com (maintainer) Modified: head/devel/gdb/Makefile head/devel/gdb/distinfo head/devel/gdb/files/fbsd-threads.c head/devel/gdb/files/patch-unified head/devel/gdb/pkg-plist Modified: head/devel/gdb/Makefile ============================================================================== --- head/devel/gdb/Makefile Mon Aug 4 20:49:10 2014 (r364053) +++ head/devel/gdb/Makefile Mon Aug 4 20:50:49 2014 (r364054) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gdb -PORTVERSION= 7.7.1 +PORTVERSION= 7.8 CATEGORIES= devel MASTER_SITES= GNU @@ -11,7 +11,7 @@ COMMENT= GNU GDB of newer version than c LICENSE= GPLv3 -USES= iconv gmake libtool tar:bzip2 +USES= iconv gmake libtool tar:xz USE_CSTD= gnu89 GNU_CONFIGURE= yes CONFIGURE_ENV= CONFIGURED_M4=m4 CONFIGURED_BISON=byacc @@ -101,9 +101,9 @@ do-install: .endif .if ${PORT_OPTIONS:MPYTHON} - (cd ${WRKSRC}/gdb; ${MAKE_CMD} DESTDIR=${STAGEDIR} install-python ) + (cd ${WRKSRC}/gdb; ${GMAKE} DESTDIR=${STAGEDIR} install-python ) (cd ${WRKSRC}/gdb/data-directory ; \ - ${MAKE_CMD} DESTDIR=${STAGEDIR} install-python ) + ${GMAKE} DESTDIR=${STAGEDIR} install-python ) .endif .if ${PORT_OPTIONS:MPYTHON} Modified: head/devel/gdb/distinfo ============================================================================== --- head/devel/gdb/distinfo Mon Aug 4 20:49:10 2014 (r364053) +++ head/devel/gdb/distinfo Mon Aug 4 20:50:49 2014 (r364054) @@ -1,2 +1,2 @@ -SHA256 (gdb-7.7.1.tar.bz2) = 0dbd5260406f1b0c70fcf027c6488527fadde0cd9bb574593491fe076eb03aa5 -SIZE (gdb-7.7.1.tar.bz2) = 24849503 +SHA256 (gdb-7.8.tar.xz) = 49c4abe174f79f54e1f9e75210ffb590d9b497d5b5200b5398c0e073a4ecb875 +SIZE (gdb-7.8.tar.xz) = 17664316 Modified: head/devel/gdb/files/fbsd-threads.c ============================================================================== --- head/devel/gdb/files/fbsd-threads.c Mon Aug 4 20:49:10 2014 (r364053) +++ head/devel/gdb/files/fbsd-threads.c Mon Aug 4 20:50:49 2014 (r364054) @@ -1296,7 +1296,7 @@ tsd_cb (thread_key_t key, void (*destruc if (!bms.minsym) name = "???"; else - name = SYMBOL_PRINT_NAME (bms.minsym); + name = MSYMBOL_PRINT_NAME (bms.minsym); printf_filtered ("Key %d, destructor %p <%s>\n", key, destructor, name); return 0; @@ -1505,11 +1505,11 @@ ps_pglobal_lookup (struct ps_prochandle struct minimal_symbol *ms; CORE_ADDR addr; - ms = lookup_minimal_symbol (name, NULL, NULL); + ms = lookup_minimal_symbol (name, NULL, NULL).minsym; if (ms == NULL) return PS_NOSYM; - *sym_addr = SYMBOL_VALUE_ADDRESS (ms); + *sym_addr = ms->mginfo.value.address; return PS_OK; } Modified: head/devel/gdb/files/patch-unified ============================================================================== --- head/devel/gdb/files/patch-unified Mon Aug 4 20:49:10 2014 (r364053) +++ head/devel/gdb/files/patch-unified Mon Aug 4 20:50:49 2014 (r364054) @@ -1,24 +1,14 @@ --- gdb/gdb.c Thu Feb 13 13:07:24 2003 +++ gdb/gdb.c Wed May 17 00:24:39 2006 -@@ -23,4 +23,5 @@ - #include "gdb_string.h" - #include "interps.h" -+#include - - int -@@ -31,6 +32,14 @@ +@@ -31,5 +32,11 @@ args.argc = argc; args.argv = argv; -- args.use_windows = 0; - args.interpreter_p = INTERP_CONSOLE; + if (strncmp(basename(argv[0]), "insight", 7) == 0) { -+ args.use_windows = 1; + args.interpreter_p = "insight"; + } else if (strncmp(basename(argv[0]), "gdbtui", 6) == 0) { -+ args.use_windows = 0; + args.interpreter_p = INTERP_TUI; + } else { -+ args.use_windows = 0; + args.interpreter_p = INTERP_CONSOLE; + } return gdb_main (&args); Modified: head/devel/gdb/pkg-plist ============================================================================== --- head/devel/gdb/pkg-plist Mon Aug 4 20:49:10 2014 (r364053) +++ head/devel/gdb/pkg-plist Mon Aug 4 20:50:49 2014 (r364054) @@ -9,6 +9,7 @@ man/man1/gdb%%VER%%.1.gz %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/printing.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/prompt.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/types.py +%%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/xmethod.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/command/__init__.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/command/bound_registers.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/command/explore.py @@ -16,6 +17,7 @@ man/man1/gdb%%VER%%.1.gz %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/command/pretty_printers.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/command/prompt.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/command/type_printers.py +%%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/command/xmethods.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/function/__init__.py %%PYTHON%%%%DATADIR%%%%VER%%/python/gdb/function/strfns.py %%PYTHON%%@dirrmtry %%DATADIR%%%%VER%%/python/gdb/function