Branch: master

0b9cc25c 2014-05-02 10:16:30 Michele Calgaro
Fixed detection of gdb from GdbDriver. This resolves bug 1996.
M kdbg/gdbdriver.cpp
diff --git a/kdbg/gdbdriver.cpp b/kdbg/gdbdriver.cpp
index e9c2f84..61c09e4 100644
--- a/kdbg/gdbdriver.cpp
+++ b/kdbg/gdbdriver.cpp
@@ -2084,7 +2084,8 @@
      *     (no debugging symbols found)
      */
     while (strncmp(output, "Using host libthread_db", 23) == 0 ||
-	   strncmp(output, "(no debugging symbols found)", 28) == 0)
+	   strncmp(output, "(no debugging symbols found)", 28) == 0 ||
+	   strncmp(output, "Reading symbols from", 20) == 0)
     {
 	// this line is good, go to the next one
 	const char* end = strchr(output, '\n');