lttv: Change "dbg" option in runlttv
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Wed, 12 Aug 2009 13:18:43 +0000 (09:18 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 1 Sep 2009 13:35:16 +0000 (09:35 -0400)
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 <benjamin.poirier@polymtl.ca>
runlttv

diff --git a/runlttv b/runlttv
index 7af35b018f10bc2c7f582ddb1091a7b4578c5d76..f64d91d9a58cafbb0e632df55ec7cd18bc3a3e41 100755 (executable)
--- 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
This page took 0.024794 seconds and 4 git commands to generate.