Write a string representation of the value scraped from the inferior process to "out", a file-like object.
(self, out, visited)
| 305 | int(self._gdbval)) |
| 306 | |
| 307 | def write_repr(self, out, visited): |
| 308 | ''' |
| 309 | Write a string representation of the value scraped from the inferior |
| 310 | process to "out", a file-like object. |
| 311 | ''' |
| 312 | # Default implementation: generate a proxy value and write its repr |
| 313 | # However, this could involve a lot of work for complicated objects, |
| 314 | # so for derived classes we specialize this |
| 315 | return out.write(repr(self.proxyval(visited))) |
| 316 | |
| 317 | @classmethod |
| 318 | def subclass_from_type(cls, t): |
no test coverage detected