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:
@@ -570,13 +570,6 @@ game_launcher() {
|
|||||||
process_launcher_flags
|
process_launcher_flags
|
||||||
custom_launch_parameters
|
custom_launch_parameters
|
||||||
if [[ "$debugGdb" == "1" ]]; then
|
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
|
# Change to game directory before launching
|
||||||
pushd "$(winepath "${game[1]%\\*}")" > /dev/null
|
pushd "$(winepath "${game[1]%\\*}")" > /dev/null
|
||||||
winedbg --gdb "${game[1]##*\\}"
|
winedbg --gdb "${game[1]##*\\}"
|
||||||
|
|||||||
Reference in New Issue
Block a user