Commit 38531a78 authored by David Schulz's avatar David Schulz
Browse files

cdbext: Adjusted dump of QChar



... to be consistent with gdb.

Change-Id: I0bfbf9b14ee884acd762434b67cce6794380aac7
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 2586fc54
......@@ -2037,9 +2037,9 @@ static bool dumpQChar(const SymbolGroupValue &v, std::wostream &str)
if (utf16 >= 0) {
// Print code = character,
// exclude control characters and Pair indicator
str << utf16;
if (utf16 >= 32 && (utf16 < 0xD800 || utf16 > 0xDBFF))
str << " '" << wchar_t(utf16) << '\'';
str << '\'' << wchar_t(utf16) << "' ";
str << '(' << utf16 << ')';
}
return true;
}
......
Supports Markdown
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