Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/bin/sage (--gdb): Do not try to run cygdb unless SAGE_DEBUG=yes
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 23, 2022
1 parent 9d2c48f commit d24b928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/sage
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ fi
if [ "$1" = '-gdb' -o "$1" = "--gdb" ]; then
shift
sage_setup
if [ "$SAGE_DEBUG" = "no" ]; then
if [ "$SAGE_DEBUG" != "yes" ]; then
gdb --eval-command "run" \
-args python "${SELF}-ipython" "$@" -i
else
Expand Down

0 comments on commit d24b928

Please sign in to comment.