Debugger: Retrieve threads info for coredump

handleStop2 used to retrieve the stack. This is no longer right.

While at it, remove outdated comment regarding GDB version.

Task-number: QTCREATORBUG-14617
Change-Id: I9511fe5315e941fd9e08737a5b11677f9fdf8d09
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-06-22 12:28:06 +03:00
committed by Orgad Shaneh
parent 1414c3ed2f
commit 7c33549f98

View File

@@ -1677,11 +1677,6 @@ void GdbEngine::handleStop2(const GdbMi &data)
void GdbEngine::handleStop2() void GdbEngine::handleStop2()
{ {
// We are already continuing.
if (!m_stackNeeded)
return;
// This is only available in gdb 7.1+.
postCommand("-thread-info", Discardable, CB(handleThreadInfo)); postCommand("-thread-info", Discardable, CB(handleThreadInfo));
} }