summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-03 00:16:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-03 00:16:30 +0900
commit0b9cc25c2ff8dfa7352afae9ff1fe87a550aeaa7 (patch)
treec8e0d2ecb8f58356cacaa807921cd30cf5276237
parent37b4ec0e14b1076ed962d9c898cba54c18d84a07 (diff)
downloadkdbg-0b9cc25c.tar.gz
kdbg-0b9cc25c.zip
Fixed detection of gdb from GdbDriver. This resolves bug 1996.
-rw-r--r--kdbg/gdbdriver.cpp3
1 files changed, 2 insertions, 1 deletions
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');