(self)
| 1655 | self.gdbval = gdbval |
| 1656 | |
| 1657 | def to_string (self): |
| 1658 | pyop = PyObjectPtr.from_pyobject_ptr(self.gdbval) |
| 1659 | if True: |
| 1660 | return pyop.get_truncated_repr(MAX_OUTPUT_LEN) |
| 1661 | else: |
| 1662 | # Generate full proxy value then stringify it. |
| 1663 | # Doing so could be expensive |
| 1664 | proxyval = pyop.proxyval(set()) |
| 1665 | return stringify(proxyval) |
| 1666 | |
| 1667 | def pretty_printer_lookup(gdbval): |
| 1668 | type = gdbval.type.strip_typedefs().unqualified() |
nothing calls this directly
no test coverage detected