From 8f49a9d3916dc31a0a929da2af77bc622155909f Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Wed, 17 Apr 2013 20:24:42 +0200 Subject: [PATCH] Ignore more patterns of text that GDB throws at us after a 'file' command. Different vintages of GDB reply with different text to a 'file' command. Add a few patterns discovered with OpenSUSE's GDB. --- kdbg/gdbdriver.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kdbg/gdbdriver.cpp b/kdbg/gdbdriver.cpp index 9bb3fee..1db3ee3 100644 --- a/kdbg/gdbdriver.cpp +++ b/kdbg/gdbdriver.cpp @@ -2236,6 +2236,9 @@ bool GdbDriver::parseChangeExecutable(const char* output, QString& message) * Reading symbols from */ while (strncmp(output, "Reading symbols from", 20) == 0 || + strncmp(output, "done.", 5) == 0 || + strncmp(output, "Missing separate debuginfo", 26) == 0 || + strncmp(output, "Try: ", 5) == 0 || strncmp(output, "Using host libthread_db", 23) == 0 || strncmp(output, "(no debugging symbols found)", 28) == 0) { -- 2.11.4.GIT