From 33bb3dbe388364b74f0fa705c7bbfe3f7de80217 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 8 Jun 2020 16:11:44 +0000 Subject: [PATCH] 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. --- usr.sbin/crashinfo/crashinfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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