[ltt-dev] [PATCH 2/3] lttv: Change "dbg" option in runlttv
Benjamin Poirier
benjamin.poirier at polymtl.ca
Wed Aug 12 09:18:43 EDT 2009
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 at polymtl.ca>
---
runlttv | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/runlttv b/runlttv
index 7af35b0..f64d91d 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
--
1.6.3.3
More information about the lttng-dev
mailing list