From owner-svn-src-stable@freebsd.org Mon Jul 10 17:55:45 2017 Return-Path: Delivered-To: svn-src-stable@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 3E8E8DAD724; Mon, 10 Jul 2017 17:55:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1ADF8717C2; Mon, 10 Jul 2017 17:55:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id B293410AF18; Mon, 10 Jul 2017 13:55:43 -0400 (EDT) From: John Baldwin To: rgrimes@freebsd.org Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: Re: svn commit: r320824 - in stable: 10/gnu/usr.bin/gdb/gdb 10/gnu/usr.bin/gdb/kgdb 11/gnu/usr.bin/gdb/gdb 11/gnu/usr.bin/gdb/kgdb Date: Mon, 10 Jul 2017 10:01:45 -0700 Message-ID: <7608713.faVMYlhHnq@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.0-STABLE; KDE/4.14.10; amd64; ; ) In-Reply-To: <201707090428.v694Shij070144@pdx.rh.CN85.dnsmgr.net> References: <201707090428.v694Shij070144@pdx.rh.CN85.dnsmgr.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Mon, 10 Jul 2017 13:55:43 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 17:55:45 -0000 On Saturday, July 08, 2017 09:28:43 PM Rodney W. Grimes wrote: > > Author: jhb > > Date: Sun Jul 9 04:13:33 2017 > > New Revision: 320824 > > URL: https://svnweb.freebsd.org/changeset/base/320824 > > > > Log: > > MFC 320675: 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). > > Thanks for doing this, but we are still falling slightly short of 17.4 on > deprecation on the aspect of "Use of the deprecated feature generates a warning". Hmm. There may be times when generating a warning is problematic (e.g. could be a POLA violation that breaks scripting if you alter the output of utilities). Other cases like device drivers are easier to reason about (just add a new device_printf during attach), but gdb/kgdb might be more problematic due to POLA. -- John Baldwin