/bin/twn: pass --debug switch to gdb command
This commit is contained in:
		
							
								
								
									
										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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user