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 <>
Reviewed-by: default avatarhjk <>
parent 066efcd6
......@@ -1979,6 +1979,8 @@ class PlainDumper:
lister = getattr(printer, "children", None)
children = [] if lister is None else list(lister())
val = printer.to_string().encode("hex")
d.putValue(val, Hex2EncodedLatin1)
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