[Xfce4-commits] <midori:master> Fix order of -ex commands in gdb command line

Christian Dywan noreply at xfce.org
Wed Feb 27 22:46:02 CET 2013


Updating branch refs/heads/master
         to 8e88946e42b97ffa69b8d2d712ef1849962c875f (commit)
       from 7ebfdd7fa05aaa8b05b11abf319bbe9809f2afba (commit)

commit 8e88946e42b97ffa69b8d2d712ef1849962c875f
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Wed Feb 27 22:38:34 2013 +0100

    Fix order of -ex commands in gdb command line
    
    The filename must be set before printing the backtrace.

 midori/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index 7e8a0eb..82cff04 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -146,7 +146,7 @@ main (int    argc,
         gchar* args = midori_paths_get_command_line_str (FALSE);
         gchar* cmd = g_strdup_printf (
             "--batch -ex 'set print thread-events off' -ex run "
-            "-ex bt -ex 'set logging on %s' --return-child-result "
+            "-ex 'set logging on %s' -ex 'bt' --return-child-result "
             "--args %s",
             "/tmp/midori-gdb.bt", args);
         if (gdb != NULL)


More information about the Xfce4-commits mailing list