libs-steptalk/Testing/gdbstexec
Stefan Urbanek 9d91c09b7f *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@20328 72102866-910b-0410-8b05-ffd578937521
2004-11-09 20:59:07 +00:00

19 lines
413 B
Tcsh
Executable file

#!/bin/csh
#
# gdbstexec - GDB wrapper for stexec
#
# Put this file to be reachable from your PATH
#
# Use like stexec:
# gdbstexec script_name ...
# This will run stexec in gdb and run it with script script_name. After
# finishing, backtrace is displayed
#
# set temp = `tempfile -p stexec`
# echo set args $*:q > $temp
# echo run >> $temp
# echo bt >> $temp
gdb --args `which stexec` $*:q
# rm $temp