summaryrefslogtreecommitdiff
path: root/session_utils/debug
blob: 6182ef28fdfaf71f310cabdba2966495a5c3aae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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