summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2017-07-10 17:42:24 +0000
committerjhb <jhb@FreeBSD.org>2017-07-10 17:42:24 +0000
commit32c8141894f4896130a9777087bed92b57e5727e (patch)
treecb3953c6e419446bbec7693b41405f6a0502b85e /gnu/usr.bin/gdb
parentf5808172c07df681cd2b7984c476504a3f1150e5 (diff)
downloadFreeBSD-src-32c8141894f4896130a9777087bed92b57e5727e.zip
FreeBSD-src-32c8141894f4896130a9777087bed92b57e5727e.tar.gz
MFS11 320824: 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). Approved by: re (gjb) Relnotes: yes
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r--gnu/usr.bin/gdb/gdb/gdb.15
-rw-r--r--gnu/usr.bin/gdb/kgdb/kgdb.112
2 files changed, 16 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/gdb/gdb.1 b/gnu/usr.bin/gdb/gdb/gdb.1
index ee84659..635e5c3 100644
--- a/gnu/usr.bin/gdb/gdb/gdb.1
+++ b/gnu/usr.bin/gdb/gdb/gdb.1
@@ -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
diff --git a/gnu/usr.bin/gdb/kgdb/kgdb.1 b/gnu/usr.bin/gdb/kgdb/kgdb.1
index 58d0786..8ebfbf5 100644
--- a/gnu/usr.bin/gdb/kgdb/kgdb.1
+++ b/gnu/usr.bin/gdb/kgdb/kgdb.1
@@ -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
OpenPOWER on IntegriCloud