Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2017 10:01:45 -0700
From:      John Baldwin <jhb@freebsd.org>
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
Message-ID:  <7608713.faVMYlhHnq@ralph.baldwin.cx>
In-Reply-To: <201707090428.v694Shij070144@pdx.rh.CN85.dnsmgr.net>
References:  <201707090428.v694Shij070144@pdx.rh.CN85.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7608713.faVMYlhHnq>