[babl] babl-internal: remove unneeded lines from gdb output



commit fdcf8bb9d0bd4b4ce746f113f6007196aedb81a0
Author: �yvind Kolås <pippin gimp org>
Date:   Sun Jun 27 15:26:38 2010 +0100

    babl-internal: remove unneeded lines from gdb output

 babl/babl-internal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/babl/babl-internal.c b/babl/babl-internal.c
index 49a9010..64168cf 100644
--- a/babl/babl-internal.c
+++ b/babl/babl-internal.c
@@ -64,7 +64,7 @@ babl_backtrack (void)
   char buf[512];
 
   sprintf (buf, "echo bt>/tmp/babl.gdb;"
-           "gdb -q --batch -x /tmp/babl.gdb --pid=%i 2>/dev/null", getpid ());
+           "gdb -q --batch -x /tmp/babl.gdb --pid=%i | grep 'in ''babl_die' -A40", getpid ());
   return system (buf);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]