Commit 1a7b8654 authored by hjk's avatar hjk

Debugger: Fix importing plain dumpers with newer gdbs

Change-Id: Id0441ed8bb4ca1a116157e033bd711ece0e2b2ed
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent f5ec3f42
......@@ -307,7 +307,7 @@ class PlainDumper:
self.printer = printer
def __call__(self, d, value):
printer = self.printer.gen_printer(value)
printer = self.printer.invoke(value)
lister = getattr(printer, "children", None)
children = [] if lister is None else list(lister())
d.putType(self.printer.name)
......
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