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