forked from qt-creator/qt-creator
Debugger: Split DebuggerEncoding enum
... into a string specifying a kind of encoding (utf8, latin1), an optional bytesize (2-byte integers, 4-byte integers) and a flag whether the displayed value should get "..." around it. Scales better than adding an enum value for each new combination. Change-Id: Iffcb1e2f148f12da96e165559a976bd34026c649 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -3387,8 +3387,7 @@ void GdbEngine::handleThreadNames(const DebuggerResponse &response)
|
||||
foreach (const GdbMi &name, names.children()) {
|
||||
ThreadData thread;
|
||||
thread.id = ThreadId(name["id"].toInt());
|
||||
thread.name = decodeData(name["value"].data(),
|
||||
debuggerEncoding(name["valueencoded"].data()));
|
||||
thread.name = decodeData(name["value"].data(), name["valueencoded"].data());
|
||||
handler->updateThread(thread);
|
||||
}
|
||||
updateViews();
|
||||
|
||||
Reference in New Issue
Block a user