X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardbg;h=5e19b2bde80e67d87b0992c5b82d85c32f682e47;hb=97b7b13ecc4e67df61f3970306151c65598fc630;hp=0aa19ac5e7c54af4bde7db7b0bb65fa88fc78942;hpb=cf0da62ff0e4ef7dfcf0730f1af057edd34dc15a;p=ardour.git diff --git a/gtk2_ardour/ardbg b/gtk2_ardour/ardbg index 0aa19ac5e7..5e19b2bde8 100755 --- a/gtk2_ardour/ardbg +++ b/gtk2_ardour/ardbg @@ -1,18 +1,5 @@ #!/bin/sh - -export ARDOUR_RC=../ardour.rc -export ARDOUR_GLADE_PATH=./glade -export ARDOUR_UI=./ardour.menus -export ARDOUR_UI_RC=./ardour2_ui.rc -export ARDOUR_BINDINGS=./ardour.bindings - -if [ -x ./ardour.bin ] ; then - # scons executable - export LD_LIBRARY_PATH=../libs/ardour:$LD_LIBRARY_PATH - exec gdb ./ardour.bin -else - # autofoo/make executable - export LD_LIBRARY_PATH=../libs/ardour/.libs:$LD_LIBRARY_PATH - exec gdb ./ardour -fi - +. `dirname "$0"`/../build/default/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 $@