git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc61029
)
selftest/gdb_backtrace: use 'unset LD_PRELOAD'
author
Stefan Metzmacher
<metze@samba.org>
Tue, 9 Feb 2021 15:22:37 +0000
(16:22 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 10 Feb 2021 14:00:32 +0000
(14:00 +0000)
We may have bugs in socket_wrapper and others, we don't want
to inject these bugs into the debugger.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/gdb_backtrace
patch
|
blob
|
history
diff --git
a/selftest/gdb_backtrace
b/selftest/gdb_backtrace
index ef02e784efc926277ab88664f588b3a2a587f97a..4fe5f57353a5e58ea8a509d7c6660d694f90a84d 100755
(executable)
--- a/
selftest/gdb_backtrace
+++ b/
selftest/gdb_backtrace
@@
-2,6
+2,8
@@
BASENAME=`basename $0`
+unset LD_PRELOAD
+
if [ -n "$VALGRIND" -o -n "$SMBD_VALGRIND" ]; then
echo "${BASENAME}: Not running debugger under valgrind"
exit 1