mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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.
This commit is contained in:
parent
6cc51762f4
commit
5be0a58463
1 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue