summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-12-02 19:58:50 +0000
committerEd Maste <emaste@FreeBSD.org>2020-12-02 19:58:50 +0000
commit55e6cbc4d029aef2ef4ebf9a56238a62e61c2fe3 (patch)
treea44ba8142122563802554cde32a174a082a2dd78 /usr.sbin
parenta3cd24398abcc7e407f9491e8eadda7d0ef85ebb (diff)
downloadsrc-test2-55e6cbc4d029aef2ef4ebf9a56238a62e61c2fe3.tar.gz
src-test2-55e6cbc4d029aef2ef4ebf9a56238a62e61c2fe3.zip
crashinfo: Add references to the gdb port/package
We intend to remove the obsolete GDB 6.1.1 from FreeBSD before FreeBSD 13. Reviewed by jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27447
Notes
Notes: svn path=/head/; revision=368282
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/crashinfo/crashinfo.83
-rwxr-xr-xusr.sbin/crashinfo/crashinfo.sh1
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/crashinfo/crashinfo.8 b/usr.sbin/crashinfo/crashinfo.8
index 3f32bdeb28dd..3915bb1b44e1 100644
--- a/usr.sbin/crashinfo/crashinfo.8
+++ b/usr.sbin/crashinfo/crashinfo.8
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 19, 2017
+.Dd December 2, 2020
.Dt CRASHINFO 8
.Os
.Sh NAME
@@ -85,6 +85,7 @@ it uses several utilities to analyze the core including
.Xr pstat 8 ,
and
.Xr vmstat 8 .
+Note that kgdb must be installed from the devel/gdb port or gdb package.
.Pp
The options are as follows:
.Bl -tag -width indent
diff --git a/usr.sbin/crashinfo/crashinfo.sh b/usr.sbin/crashinfo/crashinfo.sh
index 4cbe4ccdf3b6..5c67a29bee73 100755
--- a/usr.sbin/crashinfo/crashinfo.sh
+++ b/usr.sbin/crashinfo/crashinfo.sh
@@ -177,6 +177,7 @@ fi
find_gdb
if [ -z "$GDB" ]; then
echo "Unable to find a kernel debugger."
+ echo "Please install the devel/gdb port or gdb package."
exit 1
fi