/bin/twn: pass --debug switch to gdb command
This commit is contained in:
parent
a2b1f1820a
commit
4c1a8e087a
2
bin/twn
2
bin/twn
@ -15,7 +15,7 @@ case "$1" in
|
||||
;;
|
||||
|
||||
gdb ) unset DEBUGINFOD_URLS
|
||||
$0 build && gdb --se=libgame.so -ex run --args "$(basename $PWD)" --no-sanity-timer "${@:2}"
|
||||
$0 build --debug && gdb --se=libgame.so -ex run --args "$(basename $PWD)" --no-sanity-timer "${@:2}"
|
||||
;;
|
||||
|
||||
init ) cp -r "$TWNROOT/apps/templates/$2" "$3"
|
||||
|
Loading…
Reference in New Issue
Block a user