From owner-svn-src-head@freebsd.org Wed Jul 5 15:23:31 2017 Return-Path: Delivered-To: svn-src-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 98F97DAD805; Wed, 5 Jul 2017 15:23:31 +0000 (UTC) (envelope-from jhb@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 5D2678475E; Wed, 5 Jul 2017 15:23:31 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v65FNUJA064023; Wed, 5 Jul 2017 15:23:30 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v65FNUI9064021; Wed, 5 Jul 2017 15:23:30 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201707051523.v65FNUI9064021@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Wed, 5 Jul 2017 15:23:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r320675 - in head/gnu/usr.bin/gdb: gdb kgdb X-SVN-Group: head X-SVN-Commit-Author: jhb X-SVN-Commit-Paths: in head/gnu/usr.bin/gdb: gdb kgdb X-SVN-Commit-Revision: 320675 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 15:23:31 -0000 Author: jhb Date: Wed Jul 5 15:23:30 2017 New Revision: 320675 URL: https://svnweb.freebsd.org/changeset/base/320675 Log: Add deprecation notices for gdb and kgdb. Even though gdb and kgdb may not be removed for 12.0 on some architectures, the notice is unconditional as these tools will likely be removed at some point in the future when adequate replacements are available (gdb in ports or lldb in base). Reviewed by: emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D11477 Modified: head/gnu/usr.bin/gdb/gdb/gdb.1 head/gnu/usr.bin/gdb/kgdb/kgdb.1 Modified: head/gnu/usr.bin/gdb/gdb/gdb.1 ============================================================================== --- head/gnu/usr.bin/gdb/gdb/gdb.1 Wed Jul 5 13:37:27 2017 (r320674) +++ head/gnu/usr.bin/gdb/gdb/gdb.1 Wed Jul 5 15:23:30 2017 (r320675) @@ -44,6 +44,11 @@ gdb \- The GNU Debugger .IR core \||\| procID\c \&\|]\&\|] .ad b +.SH DEPRECATION NOTICE +This version of gdb is deprecated and will be removed from future versions +of the FreeBSD base system. +A newer version of gdb is available from ports or packages +(devel/gdb). .SH DESCRIPTION The purpose of a debugger such as GDB is to allow you to see what is going on ``inside'' another program while it executes\(em\&or what another Modified: head/gnu/usr.bin/gdb/kgdb/kgdb.1 ============================================================================== --- head/gnu/usr.bin/gdb/kgdb/kgdb.1 Wed Jul 5 13:37:27 2017 (r320674) +++ head/gnu/usr.bin/gdb/kgdb/kgdb.1 Wed Jul 5 15:23:30 2017 (r320675) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 11, 2006 +.Dd July 5, 2017 .Dt KGDB 1 .Os .Sh NAME @@ -40,6 +40,16 @@ .Op Fl d Ar crashdir .Op Fl c Ar core | Fl n Ar dumpnr | Fl r Ar device .Op Ar kernel Op Ar core +.Sh DEPRECATION NOTICE +This version of +.Nm +is deprecated and will be removed from future versions of the +.Fx +base system. +A newer version of +.Nm +is available from ports or packages +(devel/gdb). .Sh DESCRIPTION The .Nm