From owner-svn-ports-head@freebsd.org Thu Nov 5 18:48:48 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FF0AA2631B; Thu, 5 Nov 2015 18:48:48 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A27014B3; Thu, 5 Nov 2015 18:48:48 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA5ImldI088421; Thu, 5 Nov 2015 18:48:47 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA5Imlwt088418; Thu, 5 Nov 2015 18:48:47 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201511051848.tA5Imlwt088418@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Thu, 5 Nov 2015 18:48:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400860 - 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 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 18:48:48 -0000 Author: tijl Date: Thu Nov 5 18:48:46 2015 New Revision: 400860 URL: https://svnweb.freebsd.org/changeset/ports/400860 Log: - Fix a potential parallel build issue - Fix a regression when debugging a threaded process that forks (like r399623, but for vfork(2)) PR: 203661 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Modified: head/devel/gdb/Makefile head/devel/gdb/files/extrapatch-kgdb head/devel/gdb/files/fbsd-threads.c Modified: head/devel/gdb/Makefile ============================================================================== --- head/devel/gdb/Makefile Thu Nov 5 17:17:05 2015 (r400859) +++ head/devel/gdb/Makefile Thu Nov 5 18:48:46 2015 (r400860) @@ -3,7 +3,7 @@ PORTNAME= gdb PORTVERSION= 7.10 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= GNU Modified: head/devel/gdb/files/extrapatch-kgdb ============================================================================== --- head/devel/gdb/files/extrapatch-kgdb Thu Nov 5 17:17:05 2015 (r400859) +++ head/devel/gdb/files/extrapatch-kgdb Thu Nov 5 18:48:46 2015 (r400860) @@ -2,6 +2,16 @@ diff --git gdb/Makefile.in gdb/Makefile. index dfaa8a3..182d875 100644 --- gdb/Makefile.in +++ gdb/Makefile.in +@@ -207,7 +207,8 @@ + + # Generated headers in the gnulib directory. These must be listed + # so that they are generated before other files are compiled. +-GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@ ++GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h \ ++ $(GNULIB_BUILDDIR)/import/alloca.h @GNULIB_STDINT_H@ + + # + # CLI sub directory definitons @@ -650,7 +650,8 @@ ALL_64_TARGET_OBS = \ ia64-linux-tdep.o ia64-vms-tdep.o ia64-tdep.o \ mips64obsd-tdep.o \ Modified: head/devel/gdb/files/fbsd-threads.c ============================================================================== --- head/devel/gdb/files/fbsd-threads.c Thu Nov 5 17:17:05 2015 (r400859) +++ head/devel/gdb/files/fbsd-threads.c Thu Nov 5 18:48:46 2015 (r400860) @@ -766,6 +766,7 @@ fbsd_thread_wait (struct target_ops *ops ret = beneath->to_wait (beneath, ptid, ourstatus, options); if (GET_PID(ret) >= 0 && ( ourstatus->kind == TARGET_WAITKIND_STOPPED || + ourstatus->kind == TARGET_WAITKIND_VFORKED || ourstatus->kind == TARGET_WAITKIND_FORKED ) ) { lwp = get_current_lwp (GET_PID(ret));