mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-21 18:50:54 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@16858 72102866-910b-0410-8b05-ffd578937521
19 lines
407 B
Tcsh
Executable file
19 lines
407 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 --command=$temp `which stexec`
|
|
rm $temp
|