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.
This commit is contained in:
Ed Maste 2020-06-08 16:11:44 +00:00
parent e854dd38ac
commit 33bb3dbe38
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361930

View File

@ -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