(self, gdbval)
| 1053 | class PyFramePtr: |
| 1054 | |
| 1055 | def __init__(self, gdbval): |
| 1056 | self._gdbval = gdbval |
| 1057 | if self.is_optimized_out(): |
| 1058 | return |
| 1059 | self.co = self._f_code() |
| 1060 | if self.is_shim(): |
| 1061 | return |
| 1062 | self.co_name = self.co.pyop_field('co_name') |
| 1063 | self.co_filename = self.co.pyop_field('co_filename') |
| 1064 | |
| 1065 | self.f_lasti = self._f_lasti() |
| 1066 | self.co_nlocals = int_from_int(self.co.field('co_nlocals')) |
| 1067 | pnames = self.co.field('co_localsplusnames') |
| 1068 | self.co_localsplusnames = PyTupleObjectPtr.from_pyobject_ptr(pnames) |
| 1069 | |
| 1070 | @staticmethod |
| 1071 | def get_thread_state(): |
nothing calls this directly
no test coverage detected