diff --git a/src/runtime/runtime-gdb.py b/src/runtime/runtime-gdb.py index 4c32c633cf..48960b7f61 100644 --- a/src/runtime/runtime-gdb.py +++ b/src/runtime/runtime-gdb.py @@ -353,7 +353,8 @@ class IfacePrinter: return "" if dtype is None: # trouble looking up, print something reasonable - return "({0}){0}".format(iface_dtype_name(self.val), self.val['data']) + return "({typename}){data}".format( + typename=iface_dtype_name(self.val), data=self.val['data']) try: return self.val['data'].cast(dtype).dereference()