makedist.midori: Add debug helper to bin folder in debug builds

This commit is contained in:
Paweł Forysiuk 2012-08-13 19:58:54 +02:00 committed by Christian Dywan
parent 605953ebe6
commit 3fbcc93bac

View file

@ -188,6 +188,18 @@ if [ "$DEBUG_BUILD" == "" ];then
pushd $workdir > /dev/null pushd $workdir > /dev/null
find -iname *.debug -exec rm {} \; find -iname *.debug -exec rm {} \;
popd > /dev/null popd > /dev/null
else
#add some gdb helper scripts
cat > $workdir/bin/backtrace.gdb << _EOF
set logging on
set logging file debug.log
run
thread apply all bt
quit
_EOF
echo 'gdb.exe --command=backtrace.gdb midori.exe' > $workdir/bin/debug.bat
fi fi
# copy locales for gtk # copy locales for gtk