Commit 7107fd15 authored by hjk's avatar hjk
Browse files

Debugger: Pass output from plain gdb pretty printers hex-encoded



This takes care of "unusual" contents.

Change-Id: I5e9ce2066281d169e88a58e85e6d4dd590760e2a
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 066efcd6
......@@ -1979,6 +1979,8 @@ class PlainDumper:
lister = getattr(printer, "children", None)
children = [] if lister is None else list(lister())
d.putType(self.printer.name)
val = printer.to_string().encode("hex")
d.putValue(val, Hex2EncodedLatin1)
d.putValue(printer.to_string())
d.putNumChild(len(children))
if d.isExpanded():
......
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