summaryrefslogtreecommitdiff
path: root/tools/x-win
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-23 23:56:32 +0200
committerRobin Gareus <robin@gareus.org>2015-04-23 23:56:32 +0200
commite1e5f54e8e45aaf783a0dc34f1b3d602843234a1 (patch)
tree5c1d159dedab9aa9d60aa7583dea61c719f94b68 /tools/x-win
parentdb0cc2807ad34c5ab3ecafa9ad33b4b275aaedec (diff)
auto-launch ardour in gdb.
Diffstat (limited to 'tools/x-win')
-rwxr-xr-xtools/x-win/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh
index 979b2e55fd..4f18dd1975 100755
--- a/tools/x-win/package.sh
+++ b/tools/x-win/package.sh
@@ -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."