[totem] browser-plugin: Fix running gdb when it is a script
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] browser-plugin: Fix running gdb when it is a script
- Date: Fri, 11 Apr 2014 08:49:48 +0000 (UTC)
commit 61e5a5510cd29b0de64124cbe1591d14a81ded90
Author: Bastien Nocera <hadess hadess net>
Date: Fri Apr 11 10:24:18 2014 +0200
browser-plugin: Fix running gdb when it is a script
Pass a full path to launch gdb to avoid running a helper script.
browser-plugin/totem-plugin-viewer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index b86c6cc..b0c2887 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -2255,7 +2255,7 @@ int main (int argc, char **argv)
GError *gdberr = NULL;
int gdbargc = 0;
- gdb = g_strdup_printf ("gdb %s %d", argv[0], getpid ());
+ gdb = g_strdup_printf ("/usr/bin/gdb %s %d", argv[0], getpid ());
gdbargv[gdbargc++] = "/usr/bin/gnome-terminal";
gdbargv[gdbargc++] = "-e";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]