Commit 1c1320c4 authored by Francois Ferrand's avatar Francois Ferrand Committed by hjk
Browse files

Gdb: Fix thread listing command used for older GDB.



Change-Id: I02219e496faa8918439467f72b196bf454b6bc8f
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 0949e752
......@@ -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+.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment