pkg://kdbg-1.2.9-6.src.rpm:542763/kdbg-1.2.9-warning.patch
info downloads
--- kdbg-1.2.9/kdbg/gdbdriver.cpp.orig 2003-03-02 21:35:35.000000000 +0100
+++ kdbg-1.2.9/kdbg/gdbdriver.cpp 2004-02-03 17:08:06.348332677 +0100
@@ -1885,17 +1885,22 @@
bool GdbDriver::parseChangeExecutable(const char* output, QString& message)
{
+ char *msg_libthread = "Using host libthread_db library";
+ int n = strlen(msg_libthread);
+
message = output;
m_haveCoreFile = false;
/*
* 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, msg_libthread, n) == 0;
}
bool GdbDriver::parseCoreFile(const char* output)