When launching the game in with -g, don't print those extra echo statements.

You're already in a GDB session which is ready to rock and roll.
This commit is contained in:
2025-11-10 14:47:10 -05:00
parent 73126910ec
commit 614f38d9dd

View File

@@ -570,13 +570,6 @@ game_launcher() {
process_launcher_flags
custom_launch_parameters
if [[ "$debugGdb" == "1" ]]; then
echo "Starting GDB server for debugging..."
echo "Connect from another terminal with:"
echo " gdb"
echo " (gdb) target remote localhost:1234"
echo ""
echo "Press Ctrl+C to stop the debugger."
echo ""
# Change to game directory before launching
pushd "$(winepath "${game[1]%\\*}")" > /dev/null
winedbg --gdb "${game[1]##*\\}"