From owner-svn-src-stable@freebsd.org Mon Jul 10 18:06:55 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 2832FDADB13; Mon, 10 Jul 2017 18:06:55 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0486A72000; Mon, 10 Jul 2017 18:06:54 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id v6AI6rjc076963; Mon, 10 Jul 2017 11:06:53 -0700 (PDT) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id v6AI6rXg076962; Mon, 10 Jul 2017 11:06:53 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201707101806.v6AI6rXg076962@pdx.rh.CN85.dnsmgr.net> 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 In-Reply-To: <7608713.faVMYlhHnq@ralph.baldwin.cx> To: John Baldwin Date: Mon, 10 Jul 2017 11:06:53 -0700 (PDT) CC: rgrimes@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 18:06:55 -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). The message should be go to stderr, I would hope the scripts are not parsing stderr. It is a bigger POLA when the utility goes away in 12.0 and the user wasnt informed that it was going away. (Yea, it is in the man page and the release notes but we all know that no one reads that.) It might even be good to break there scripts with a POLA violation, making it very clear they have future action to take. > 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. -- Rod Grimes rgrimes@freebsd.org