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

John Baldwin jhb at freebsd.org
Mon Jul 10 17:55:45 UTC 2017


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


More information about the svn-src-all mailing list