diff options
author | cvs2svn Import User <samba-bugs@samba.org> | 2002-09-25 12:59:48 +0000 |
---|---|---|
committer | cvs2svn Import User <samba-bugs@samba.org> | 2002-09-25 12:59:48 +0000 |
commit | 9a5541595f78f2cbba16030552c6e780f6fddcf6 (patch) | |
tree | e883926585725005a2f04040dbd8ce24aa5d1aba /testsuite | |
parent | 677df37e8388d46d2923f7e1a6a7e465de955fee (diff) | |
parent | 70d9b71ceaeba95712fa61e601376ff5cc8e7714 (diff) | |
download | samba-9a5541595f78f2cbba16030552c6e780f6fddcf6.tar.gz samba-9a5541595f78f2cbba16030552c6e780f6fddcf6.tar.xz samba-9a5541595f78f2cbba16030552c6e780f6fddcf6.zip |
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/build_farm/backtrace | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/build_farm/backtrace b/testsuite/build_farm/backtrace new file mode 100755 index 00000000000..efaa9f2dcde --- /dev/null +++ b/testsuite/build_farm/backtrace @@ -0,0 +1,15 @@ +#!/bin/sh +# Modified version of tridge's backtrace script. +# we want everything on stderr, so the program is not disturbed +exec 1>&2 + +PID=$1 +TMPFILE=$prefix/backtrace.$$ +cat << EOF > $TMPFILE +set height 0 +up 8 +bt full +quit +EOF +gdb -x $TMPFILE $prefix/sbin/smbd $PID +/bin/rm -f $TMPFILE |