[gdb-scripts] Fix PointerIntPairPrinter.to_string after D127969

This commit is contained in:
Fangrui Song 2022-06-24 00:36:26 -07:00
parent 27afb362b1
commit 0ecea5b2d3
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ class PointerIntPairPrinter:
yield ('value', self.value)
def to_string(self):
return '(%s, %s)' % self.pointer.type, self.value.type
return '(%s, %s)' % (self.pointer.type, self.value.type)
def make_pointer_int_pair_printer(val):
"""Factory for an llvm::PointerIntPair printer."""