add support for OSX 10.9 clang's lldb (there's no gdb on 10.9)

This commit is contained in:
Robin Gareus 2014-10-09 09:56:18 +02:00
parent b4cf5e279b
commit e6252e0494

View File

@ -2,4 +2,11 @@
. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export ARDOUR_INSIDE_GDB=1
exec gdb --args $TOP/$EXECUTABLE $@
if test -n "`which gdb`"; then
exec gdb --args $TOP/$EXECUTABLE $@
fi
if test -n "`which lldb`"; then
exec lldb -- $TOP/$EXECUTABLE $@
fi
echo "neither gdb nor lldb was found."