auto-launch ardour in gdb.
authorRobin Gareus <robin@gareus.org>
Thu, 23 Apr 2015 21:56:32 +0000 (23:56 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 23 Apr 2015 21:56:32 +0000 (23:56 +0200)
tools/x-win/package.sh

index 979b2e55fdb3c8b510bcb3ac139eec0982b3914b..4f18dd1975274d80e10f26d8460cf3c0cfd9f975 100755 (executable)
@@ -214,7 +214,7 @@ if ! grep " using ./waf configure" build/config.log | grep -q -- "--optimize"; t
        cp -r ${SRCDIR}/gdb_$WARCH $DESTDIR/gdb
        cat > $DESTDIR/debug.bat << EOF
 cd bin
-START ..\\gdb\\bin\\gdb.exe -iex "set logging overwrite on" -iex "set height 0" -iex "set logging on %UserProfile%\\${PRODUCT_NAME}-debug.log" ${PRODUCT_EXE}
+START ..\\gdb\\bin\\gdb.exe -iex "set logging overwrite on" -iex "set height 0" -iex "set logging on %UserProfile%\\${PRODUCT_NAME}-debug.log" -iex "target exec ${PRODUCT_EXE}" -iex "run"
 EOF
        OUTFILE="${TMPDIR}/${PRODUCT_NAME}-${ARDOURVERSION}-dbg-${WARCH}-Setup.exe"
        VERSIONINFO="Debug Version."