13
0

add script to run vst-scanner in gdb

This commit is contained in:
Robin Gareus 2014-10-11 21:00:59 +02:00
parent 250ea066ef
commit 7ea039ee91

12
gtk2_ardour/vstdbg Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export ARDOUR_INSIDE_GDB=1
if test -n "`which gdb`"; then
exec gdb --args $libs/fst/ardour-vst-scanner $@
fi
if test -n "`which lldb`"; then
exec lldb -- $libs/fst/ardour-vst-scanner $@
fi
echo "neither gdb nor lldb was found."