when moving tempo and metric sections around (or adding new ones), prevent the existe...
[ardour.git] / gtk2_ardour / ardbg
index ab99296f450df07b6ac4559aee8cff20654e72e9..f0c092cab259b699c65e647dcb8eb46f8ca38b7a 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-dir=`dirname "$0"`
-. $dir/ardev_common.sh
+. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
 LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
-exec gdb $EXECUTABLE $*
+export ARDOUR_INSIDE_GDB=1
+exec gdb --args $TOP/$EXECUTABLE $@