From 0b9cc25c2ff8dfa7352afae9ff1fe87a550aeaa7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 3 May 2014 00:16:30 +0900 Subject: Fixed detection of gdb from GdbDriver. This resolves bug 1996. --- kdbg/gdbdriver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kdbg') 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 @@ bool GdbDriver::parseChangeExecutable(const char* output, TQString& message) * (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'); -- cgit v1.2.3