]>
git.sthu.org Git - vimconf.git/blob - gdb.sh
9 # If gdb-dashboard is installed, use it
10 if command -v gdb-dashboard
&> /dev
/null
; then
11 GDBBIN
="gdb-dashboard"
15 # Check if gdbinit ships gdb-dashboard
16 if [ -e ~
/.gdbinit
] && grep -q dashboard ~
/.gdbinit
; then
20 # If we use dashboard then pass corresponding gdbinit file
21 if [ "${WITH_DASHBOARD}" = "1" ]; then
22 GDBARGS
="${GDBARGS} -x ~/.vim/gdbinit-dashboard"
25 exec ${GDBBIN} ${GDBARGS} "$@"