Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2020 16:11:44 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361930 - head/usr.sbin/crashinfo
Message-ID:  <202006081611.058GBiOt084473@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Jun  8 16:11:44 2020
New Revision: 361930
URL: https://svnweb.freebsd.org/changeset/base/361930

Log:
  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.

Modified:
  head/usr.sbin/crashinfo/crashinfo.sh

Modified: head/usr.sbin/crashinfo/crashinfo.sh
==============================================================================
--- head/usr.sbin/crashinfo/crashinfo.sh	Mon Jun  8 15:27:44 2020	(r361929)
+++ head/usr.sbin/crashinfo/crashinfo.sh	Mon Jun  8 16:11:44 2020	(r361930)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006081611.058GBiOt084473>