Fixed detection of gdb from GdbDriver. This resolves bug 1996.

pull/1/head
Michele Calgaro 10 years ago
parent 37b4ec0e14
commit 0b9cc25c2f

@ -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');

Loading…
Cancel
Save