summaryrefslogtreecommitdiff
path: root/runserv.sh
blob: d7b8b51e0ec2e868463b660390154304b7acf74d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
ulimit -c 100000000
while [ true ] ; do
    src/tmwserv --verbosity 2

    for CORE in `ls core*` ; do
        gdb -batch src/tmwserv $CORE > backtrace-`date +%Y%m%d-%H%M%S`
        mv $CORE usedcore
    done
done