summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-06-26 16:55:30 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-06-26 17:30:21 +0100
commit5be0a58463b8a2e3091fa610d9379f69fe0488c1 (patch)
treeea6281885251d5a26325d1cd28a6880a98d80d15
parent6cc51762f489e9da59b4e1cbc118756ff2d79920 (diff)
tools: point people to right binary when a crash happens
"gst-launch" is the 0.10 wrapper script, using that with gdb is not going to yield great results.
-rw-r--r--tools/gst-launch.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/gst-launch.c b/tools/gst-launch.c
index 15dc1d4ba..282549802 100644
--- a/tools/gst-launch.c
+++ b/tools/gst-launch.c
@@ -136,14 +136,15 @@ fault_spin (void)
int spinning = TRUE;
glib_on_error_halt = FALSE;
- g_on_error_stack_trace ("gst-launch");
+ g_on_error_stack_trace ("gst-launch-" GST_API_VERSION);
wait (NULL);
/* FIXME how do we know if we were run by libtool? */
fprintf (stderr,
- "Spinning. Please run 'gdb gst-launch %d' to continue debugging, "
- "Ctrl-C to quit, or Ctrl-\\ to dump core.\n", (gint) getpid ());
+ "Spinning. Please run 'gdb gst-launch- " GST_API_VERSION " %d' to "
+ "continue debugging, Ctrl-C to quit, or Ctrl-\\ to dump core.\n",
+ (gint) getpid ());
while (spinning)
g_usleep (1000000);
}