ardour/session_utils/debug

15 lines
298 B
Plaintext
Raw Normal View History

2015-12-15 18:25:07 -05:00
#!/bin/sh
TOP=`dirname "$0"`/..
. "$TOP/build/gtk2_ardour/ardev_common_waf.sh"
SELF=$1
shift
export ARDOUR_INSIDE_GDB=1
if test -n "`which gdb`"; then
exec gdb --args "$TOP/build/session_utils/$SELF" "$@"
fi
if test -n "`which lldb`"; then
exec lldb -- "$TOP/build/session_utils/$SELF" "$@"
fi