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

27
gdb_script Normal file
View file

@ -0,0 +1,27 @@
dir Server.tproj
dir APICommonCode
dir APIModules/OSMemory_Modules
dir APIModules/QTSSAccessLogModule
dir APIModules/QTSSFileModule
dir APIModules/QTSSFlowControlModule
dir APIModules/QTSSReflectorModule
dir APIModules/QTSSDSAuthModule
dir APIModules/QTSSWebDebugModule
dir APIModules/QTSSWebStatsModule
dir APIModules/QTSSDemoAuthorizationModule.bproj
dir APIModules/QTSSAccessModule
dir APIModules/QTSSAdminModule
dir APIStubLib
dir CommonUtilitiesLib
dir OSMemoryLib
dir PlaylistBroadcaster.tproj
dir PrefsSourceLib
dir QTFileLib
dir RTSPClientLib
dir RTCPUtilitiesLib
handle SIGPIPE nopass noprint

1
gdbdar Executable file
View file

@ -0,0 +1 @@
gdb ./DarwinStreamingServer -x gdb_script

1
gdbmp3 Executable file
View file

@ -0,0 +1 @@
gdb build/MP3Broadcaster -x gdb_script

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

10
gdbserver Executable file
View file

@ -0,0 +1,10 @@
if [ -e build/Development/QuickTimeStreamingServer ] ; then
gdb build/Development/QuickTimeStreamingServer -x gdb_script
else
if [ -e build/Deployment/QuickTimeStreamingServer ] ; then
gdb build/Deployment/QuickTimeStreamingServer -x gdb_script
else
echo "Build not found!"
exit 1
fi
fi