forked from qt-creator/qt-creator
Debugger: Support core input in custom thread names
GDB doesn't provide thread-core on core dump debugging. Give the user the option provide it. Change-Id: I15eae0280243ce307b9045be33e4b28e9b9c64d0 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
296ae92853
commit
c83b5afa9b
@@ -3031,6 +3031,8 @@ void GdbEngine::handleThreadNames(const DebuggerResponse &response)
|
||||
for (const GdbMi &name : names.children()) {
|
||||
ThreadData thread;
|
||||
thread.id = name["id"].data();
|
||||
// Core is unavailable in core dump. Allow the user to provide it.
|
||||
thread.core = name["core"].data();
|
||||
thread.name = decodeData(name["value"].data(), name["valueencoded"].data());
|
||||
handler->updateThread(thread);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user