git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
255808b
)
r10527: don't attempt self gdb attach if running under valgrind. This was
author
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Sep 2005 07:11:33 +0000
(07:11 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:39:01 +0000
(13:39 -0500)
causing fort to get rather unhappy
(This used to be commit
cc3e15e19cfde45fdfa63ca0a44dbbbefa723d6a
)
source4/script/gdb_backtrace
patch
|
blob
|
history
diff --git
a/source4/script/gdb_backtrace
b/source4/script/gdb_backtrace
index 72d1f75be994a6f51159a781defa6d9c8e9d12c6..bff70c389aa5c2e2f1c822dead21eb728ae0802a 100755
(executable)
--- a/
source4/script/gdb_backtrace
+++ b/
source4/script/gdb_backtrace
@@
-1,5
+1,10
@@
#!/bin/sh
+if [ -n "$VALGRIND" -o -n "$SMBD_VALGRIND" ]; then
+ echo "Not running gdb under valgrind"
+ exit 1
+fi
+
# we want everything on stderr, so the program is not disturbed
exec 1>&2