#! /bin/bash
export LD_LIBRARY_PATH=`pwd`
/bin/gdb --batch --command=gdb_script1.txt --args ./_t-rex-64-debug $@ 
RESULT=$?

if [ $RESULT -ne 0 ]; then
  exit $RESULT
fi