repo.or.cz
/
Samba
/
wip.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
idmap_tdb_common: fix a debug message in idmap_tdb_common_unixid_to_sid()
[Samba/wip.git]
/
selftest
/
gdb_run
blob
8ad101ed60a68b47d3b1c67763092eabfd24570a
1
#!/bin/sh
2
3
ENV
=
"
$1
"
4
5
shift
1
6
7
if
test -z
"
$TMPDIR
"
;
then
8
TMPDIR
=
"/tmp"
9
fi
10
11
TMPFILE
=
$TMPDIR
/
gdb_run.$$
12
cat
<< EOF >
$TMPFILE
13
run
14
bt
15
EOF
16
17
trap
"/bin/rm -f
$TMPFILE
"
EXIT
18
CMD
=
"gdb -x
$TMPFILE
--args $@"
19
echo
$CMD
20
eval
$ENV
"
$CMD
"