Skip to content

Commit

Permalink
tools: add script for easy to use gdb commands
Browse files Browse the repository at this point in the history
  • Loading branch information
FeiRoN23 committed Dec 25, 2023
1 parent a5c5bfe commit 0796982
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions linux/run-gdb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
export LD_LIBRARY_PATH=$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib32:/libx32:/lib:$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/lib:$HOME/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib:$HOME/.local/share/Steam/steamapps/common/Half-Life
cd ~/.steam/steam/steamapps/common/Half-Life
gdb -q -ex=r --args hl_linux set args -dev -console -w 1280 -h 720 -game npc-talker

0 comments on commit 0796982

Please sign in to comment.