From 0cbb831d679e62894f38381b0a5f442316d28e52 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Wed, 18 Feb 2004 20:09:46 +0000 Subject: [PATCH] Workaround for Fedora Core + gdb 5.3 error, where no executable can be loaded. --- kdbg/gdbdriver.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kdbg/gdbdriver.cpp b/kdbg/gdbdriver.cpp index 3349445..9d9ed7c 100644 --- a/kdbg/gdbdriver.cpp +++ b/kdbg/gdbdriver.cpp @@ -1922,11 +1922,13 @@ bool GdbDriver::parseChangeExecutable(const char* output, QString& message) /* * The command is successful if there is no output or the single - * message (no debugging symbols found)... + * message (no debugging symbols found) or + * (Using host libthread_db library "/lib/tls/libthread_db.so.1".) */ return output[0] == '\0' || - strcmp(output, "(no debugging symbols found)...") == 0; + strcmp(output, "(no debugging symbols found)...") == 0 || + strncmp(output, "Using host libthread_db library", 31) == 0; } bool GdbDriver::parseCoreFile(const char* output) -- 2.11.4.GIT