git: Move test/debug/gdb.kernel to share/misc/gdbinit.

Sascha Wildner swildner at
Wed Sep 22 03:24:36 PDT 2010

commit 1f8a7fecb1a42719ce3e57647fa2d6e8797aafef
Author: Sascha Wildner <saw at>
Date:   Wed Sep 22 11:56:06 2010 +0200

    Move test/debug/gdb.kernel to share/misc/gdbinit.
    The main reason is that crashinfo(8) was previously searching for
    this script in /usr/src because it wasn't installed in the system.
    This led to two little problems. First, if you didn't have source
    in /usr/src, the core.xy.txt file wouldn't have all the information.
    Second, if you had source in /usr/src but it was outdated and didn't
    have all the commands that crashinfo(8) required, you would get
    unwanted errors in core.xy.txt.
    Therefore, put the file in share/misc from where it will get
    installed and where other initialization files such as
    also reside. The user can then copy it to ~/.gdbinit as he likes.

Summary of changes:
 share/misc/Makefile                         |    3 +--
 test/debug/gdb.kernel => share/misc/gdbinit |   14 +++-----------
 test/debug/README                           |    3 ---
 usr.sbin/crashinfo/             |   18 ++++++++----------
 4 files changed, 12 insertions(+), 26 deletions(-)
 rename test/debug/gdb.kernel => share/misc/gdbinit (90%)

DragonFly BSD source repository

More information about the Commits mailing list