Add some original GDB Scripts

This commit is contained in:
Darren VanBuren 2017-03-08 00:30:30 -08:00
parent 1cdfa35ada
commit 3677f5883b
5 changed files with 54 additions and 0 deletions

15
gdbplay Executable file
View file

@ -0,0 +1,15 @@
echo $HOSTTYPE
if [ "$HOSTTYPE" = "powerpc" ] ; then
if [ "$1" = "jam" ] ; then
echo "Debug OSX Jam'd PlaylistBroadcaster/PlaylistBroadcaster"
gdb PlaylistBroadcaster.tproj/PlaylistBroadcaster -x gdb_script
else
echo "Debug OSX PlaylistBroadcaster"
gdb build/PlaylistBroadcaster -x gdb_script
fi
else
echo "Debug POSIX PlaylistBroadcaster.tproj/PlaylistBroadcaster"
gdb PlaylistBroadcaster.tproj/PlaylistBroadcaster -x gdb_script
fi