]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 303109: Update crashinfo to work with newer gdb from ports.
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Jul 2016 17:55:40 +0000 (17:55 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Jul 2016 17:55:40 +0000 (17:55 +0000)
commitae6c876302ef75f19a3ad70b95b9a2e83c34e4e8
treed1c3b6416e2ce01842646fe3f601ce5bdc528ea1
parent6ed1fafd868d2923ad92364fbb0d69826351a669
MFC 303109: Update crashinfo to work with newer gdb from ports.

If gdb from ports is installed, use it instead of the base system gdb
to extract variables from a kernel.  Note that base gdb and ports gdb
do not support the same options for invoking a single command in batch
mode, so a wrapper shell function is used.  In addition, prefer kgdb
from ports when generating a backtrace if present.

PR: 193335

git-svn-id: svn://svn.freebsd.org/base/stable/10@303403 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/crashinfo/crashinfo.sh