From: Benjamin Poirier Date: Wed, 12 Aug 2009 13:18:43 +0000 (-0400) Subject: lttv: Change "dbg" option in runlttv X-Git-Tag: v0.12.20~47 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=91840ab1e6001b8c3892a78cf7ff3934bb671ccf;p=lttv.git lttv: Change "dbg" option in runlttv Change the "dbg" option to "gdb" for more homogeneity: `valgrind` and `strace` are specified by the tool name, not by its function. This allows adding an option for another debugger. Signed-off-by: Benjamin Poirier --- diff --git a/runlttv b/runlttv index 7af35b01..f64d91d9 100755 --- a/runlttv +++ b/runlttv @@ -50,7 +50,7 @@ if [ -e "$RCFILE" ]; then fi HELPER=$1 -if [ "$HELPER" = "dbg" ]; then +if [ "$HELPER" = "gdb" ]; then shift LD_LIBRARY_PATH=ltt/.libs gdb --args $LTTV_EXEC $ARGS $TRACEFILE $@ elif [ "$HELPER" = "valgrind" ]; then