summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
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