Commit e74d5a5c authored by Christoph Mathys's avatar Christoph Mathys Committed by hjk
Browse files

debugger: Add support for threadnames in core file debugging.



The gdb engine now calls thread-info instead of thread-list-ids
when debugging core files and fall back to thread-list-ids if
thread-info does not work. This is now the same behaviour as if
qtcreator is attached to a running process.

Change-Id: I09b8e60fab329d9b65c501e18cd3fd9ceb22f506
Merge-request: 2192
Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
Reviewed-on: http://codereview.qt-project.org/4763

Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 9c85a77a
......@@ -208,7 +208,7 @@ void GdbEngine::updateAllPython()
if (m_gdbAdapter->isCodaAdapter())
m_gdbAdapter->codaReloadThreads();
else
postCommand("-thread-list-ids", CB(handleThreadListIds), 0);
postCommand("-thread-info", CB(handleThreadInfo), 0);
reloadRegisters();
updateLocals();
}
......
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