diff --git a/gdb_script b/gdb_script new file mode 100644 index 0000000..d27d87d --- /dev/null +++ b/gdb_script @@ -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 + + + + + diff --git a/gdbdar b/gdbdar new file mode 100755 index 0000000..3f33b62 --- /dev/null +++ b/gdbdar @@ -0,0 +1 @@ +gdb ./DarwinStreamingServer -x gdb_script diff --git a/gdbmp3 b/gdbmp3 new file mode 100755 index 0000000..ef4a342 --- /dev/null +++ b/gdbmp3 @@ -0,0 +1 @@ +gdb build/MP3Broadcaster -x gdb_script diff --git a/gdbplay b/gdbplay new file mode 100755 index 0000000..52a2af2 --- /dev/null +++ b/gdbplay @@ -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 + diff --git a/gdbserver b/gdbserver new file mode 100755 index 0000000..b14d2ae --- /dev/null +++ b/gdbserver @@ -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