]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
USE_GDB: default to no, and use catchsegv for now. We need a better way to force...
authorRudolf Polzer <divverent@xonotic.org>
Sun, 4 Dec 2011 13:50:15 +0000 (14:50 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 4 Dec 2011 13:50:15 +0000 (14:50 +0100)
all

diff --git a/all b/all
index d517457b05dc6b3750e92a9ef51d4961f418a1de..f69738a26ef7ab18a96fbd94df9ed2affba29c52 100755 (executable)
--- a/all
+++ b/all
@@ -1198,7 +1198,7 @@ case "$cmd" in
 
                if [ x"$USE_GDB" = x"yes" ]; then
                        set -- gdb --args "$@"
-               elif [ x"$USE_GDB" != x"no" ] && which gdb >/dev/null 2>&1; then
+               elif [ x"$USE_GDB" = x"core" ] && which gdb >/dev/null 2>&1; then
                        set -- gdb --batch -x savecore.gdb --args "$@"
                elif which catchsegv >/dev/null 2>&1; then
                        set -- catchsegv "$@"