repo.or.cz
/
Samba
/
bb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r15555: Make "change notify timeout" a per-share parameter - used
[Samba/bb.git]
/
testsuite
/
build_farm
/
backtrace
blob
efaa9f2dcde4ce049e5d307f0526d20c45105bb7
1
#!/bin/sh
2
# Modified version of tridge's backtrace script.
3
# we want everything on stderr, so the program is not disturbed
4
exec
1
>&
2
5
6
PID
=
$1
7
TMPFILE
=
$prefix
/
backtrace.$$
8
cat
<< EOF >
$TMPFILE
9
set height 0
10
up 8
11
bt full
12
quit
13
EOF
14
gdb
-x
$TMPFILE $prefix
/
sbin
/
smbd
$PID
15
/
bin
/
rm
-f
$TMPFILE