Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2017 15:23:30 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
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
Message-ID:  <201707051523.v65FNUI9064021@repo.freebsd.org>

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



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