aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/crashinfo/crashinfo.sh
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-06-08 16:11:44 +0000
committerEd Maste <emaste@FreeBSD.org>2020-06-08 16:11:44 +0000
commit33bb3dbe388364b74f0fa705c7bbfe3f7de80217 (patch)
tree99c81b0d6e751179e3415310aa3338ac7b26d997 /usr.sbin/crashinfo/crashinfo.sh
parente854dd38acaf041dc1ea57f36d31ae749552b941 (diff)
crashinfo: stop looking for gdb in /usr/bin/gdb
As of r359457 we removed the GDB_LIBEXEC option, always installing in-tree gdb into /usr/libexec/. Thus, there is now no need for crashinfo to include /usr/bin/gdb in the list of pathnames to check when looking for gdb.
Notes
Notes: svn path=/head/; revision=361930
Diffstat (limited to 'usr.sbin/crashinfo/crashinfo.sh')
-rwxr-xr-xusr.sbin/crashinfo/crashinfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/crashinfo/crashinfo.sh b/usr.sbin/crashinfo/crashinfo.sh
index 46ba2ffde293..fce60f5f7816 100755
--- a/usr.sbin/crashinfo/crashinfo.sh
+++ b/usr.sbin/crashinfo/crashinfo.sh
@@ -50,7 +50,7 @@ find_gdb()
{
local binary
- for binary in /usr/local/bin/gdb /usr/libexec/gdb /usr/bin/gdb; do
+ for binary in /usr/local/bin/gdb /usr/libexec/gdb; do
if [ -x ${binary} ]; then
GDB=${binary}
return