debugger: -thread-info does not exist on Mac

This commit is contained in:
hjk
2010-05-19 14:24:00 +02:00
parent a31813da02
commit 213a18db87

View File

@@ -1480,6 +1480,8 @@ void GdbEngine::handleStop1(const GdbMi &data)
int currentId = data.findChild("thread-id").data().toInt();
if (m_gdbAdapter->isTrkAdapter()) {
m_gdbAdapter->trkReloadThreads();
} else if (m_isMacGdb) {
postCommand("-thread-list-ids", CB(handleThreadListIds), currentId);
} else {
// This is only available in gdb 7.1+.
postCommand("-thread-info", CB(handleThreadInfo), currentId);