diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-16 00:25:07 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-16 00:25:07 +0100 |
commit | b228c1131187f3822ece3bd6ed26869a68fb0dff (patch) | |
tree | cea750878ac04fc188f68c1fb761ff9422c8dab8 /session_utils/debug | |
parent | f05afd973b538a2e1543423f42d6859c0254f7ca (diff) |
commandline session utilities
Diffstat (limited to 'session_utils/debug')
-rwxr-xr-x | session_utils/debug | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/session_utils/debug b/session_utils/debug new file mode 100755 index 0000000000..6182ef28fd --- /dev/null +++ b/session_utils/debug @@ -0,0 +1,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 |