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

看板DFBSD_commit作者時間15年前 (2010/09/22 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 1f8a7fecb1a42719ce3e57647fa2d6e8797aafef Author: Sascha Wildner <saw@online.de> 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 indent.pro 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/crashinfo.sh | 18 ++++++++---------- 4 files changed, 12 insertions(+), 26 deletions(-) rename test/debug/gdb.kernel => share/misc/gdbinit (90%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f8a7fecb1a42719ce3e57647fa2d6e8797aafef -- DragonFly BSD source repository
文章代碼(AID): #1CcTig_t (DFBSD_commit)