3 TRINITY_PATH
=${TRINITY_PATH:-.}
5 for core
in tmp
/trinity.
*/tmp
/core.
*
7 gdb
-batch -n -ex 'bt' $TRINITY_PATH/trinity
$core > core.txt
8 SHA
=$
(cat core.txt|
grep -v New\ LWP |
grep -v childno |
sha1sum |
awk '{ print $1 }')
9 cat core.txt
> core-
$SHA.txt