X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=gdb.sh;fp=gdb.sh;h=a1bbc344244f822c4e63e26c464ca615692ddb74;hp=0000000000000000000000000000000000000000;hb=940c5d4d85492624fab8c01bfd8c98e3eadadc42;hpb=e07c8490c8729d0fbe4de4d679180f5016cab8dc diff --git a/gdb.sh b/gdb.sh new file mode 100755 index 0000000..a1bbc34 --- /dev/null +++ b/gdb.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +GDBARGS="" + +if [ -e ~/.gdbinit ] && grep -q dashboard ~/.gdbinit; then + GDBARGS="${GDBARGS} -x ~/.vim/gdbinit-dashboard" +fi + +exec gdb ${GDBARGS} "$@"