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 | 3054ef8a6ec8a67937cc1bfc492722fd6eccc325 (patch) | |
tree | 708bbe6f5367897d0d5239021d85fdd50136658a /testsuite/build_farm/backtrace | |
parent | 7b81263427408a01aa7ef81fc3c86e9bb63dab75 (diff) | |
parent | 284dd066a8b848d8c2d93089ed9991647b7db486 (diff) | |
download | samba-3054ef8a6ec8a67937cc1bfc492722fd6eccc325.tar.gz samba-3054ef8a6ec8a67937cc1bfc492722fd6eccc325.tar.bz2 samba-3054ef8a6ec8a67937cc1bfc492722fd6eccc325.zip |
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 9a5541595f78f2cbba16030552c6e780f6fddcf6)
Diffstat (limited to 'testsuite/build_farm/backtrace')
-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 0000000000..efaa9f2dcd --- /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 |