Gdb: Fix thread listing command used for older GDB.

Change-Id: I02219e496faa8918439467f72b196bf454b6bc8f
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Francois Ferrand
2012-03-08 15:37:28 +01:00
committed by hjk
parent 0949e7528b
commit 1c1320c461

View File

@@ -1667,7 +1667,7 @@ void GdbEngine::handleStop2()
if (supportsThreads()) {
if (m_gdbAdapter->isCodaAdapter()) {
m_gdbAdapter->codaReloadThreads();
} else if (m_isMacGdb) {
} else if (m_isMacGdb || m_gdbVersion < 70100) {
postCommand("-thread-list-ids", Discardable, CB(handleThreadListIds));
} else {
// This is only available in gdb 7.1+.