1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!@SH_PROG@
# $Id: interrupt.sh.in,v 1.4 2008/09/27 14:54:48 rockyb Exp $
if test -z "$srcdir" ; then
srcdir=`pwd`
fi
if [[ @build_os@ == cygwin ]] ; then
cat ${srcdir}/interrupt.right
exit 77
fi
# Make sure @top_builddir@ has a trailing slash
if [ '@top_builddir@' = '' ] ; then
echo "Something is wrong top_builddir is not set."
exit 1
fi
top_builddir=@top_builddir@
top_builddir=${top_builddir%%/}/
source ${top_builddir}bashdb-trace -q -B -L @top_builddir@
## FIXME
## _Dbg_handler INT
## echo "print: " ${_Dbg_sig_print[2]}
## echo "stop: " ${_Dbg_sig_stop[2]}
_Dbg_QUIT_ON_QUIT=1
for i in `seq 100` ; do
touch $1
sleep 5
done
|