Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [PATCH 2/3] lttv: Change "dbg" option in runlttv
@ 2009-08-12 13:18 Benjamin Poirier
  0 siblings, 0 replies; only message in thread
From: Benjamin Poirier @ 2009-08-12 13:18 UTC (permalink / raw)


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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-12 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-12 13:18 [ltt-dev] [PATCH 2/3] lttv: Change "dbg" option in runlttv Benjamin Poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox