From: Rudolf Polzer Date: Sun, 4 Dec 2011 13:50:15 +0000 (+0100) Subject: USE_GDB: default to no, and use catchsegv for now. We need a better way to force... X-Git-Tag: xonotic-v0.6.0~46 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=03fd9a1c7f65fe967b1b0cdefaacfa5e32cc67df;p=xonotic%2Fxonotic.git USE_GDB: default to no, and use catchsegv for now. We need a better way to force a good core dump. --- diff --git a/all b/all index d517457b..f69738a2 100755 --- 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 "$@"