forked from qt-creator/qt-creator
Gdb: Fix thread listing command used for older GDB.
Change-Id: I02219e496faa8918439467f72b196bf454b6bc8f Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1667,7 +1667,7 @@ void GdbEngine::handleStop2()
|
|||||||
if (supportsThreads()) {
|
if (supportsThreads()) {
|
||||||
if (m_gdbAdapter->isCodaAdapter()) {
|
if (m_gdbAdapter->isCodaAdapter()) {
|
||||||
m_gdbAdapter->codaReloadThreads();
|
m_gdbAdapter->codaReloadThreads();
|
||||||
} else if (m_isMacGdb) {
|
} else if (m_isMacGdb || m_gdbVersion < 70100) {
|
||||||
postCommand("-thread-list-ids", Discardable, CB(handleThreadListIds));
|
postCommand("-thread-list-ids", Discardable, CB(handleThreadListIds));
|
||||||
} else {
|
} else {
|
||||||
// This is only available in gdb 7.1+.
|
// This is only available in gdb 7.1+.
|
||||||
|
|||||||
Reference in New Issue
Block a user