The decimal words, from least to most significant.
(self)
| 894 | |
| 895 | @property |
| 896 | def words(self): |
| 897 | """ |
| 898 | The decimal words, from least to most significant. |
| 899 | """ |
| 900 | mem = gdb.selected_inferior().read_memory(self.address, |
| 901 | self.traits.bit_width // 8) |
| 902 | fmt = self.traits.struct_format_le |
| 903 | if byte_order() == 'big': |
| 904 | fmt = fmt[::-1] |
| 905 | words = struct.unpack(f"={fmt}", mem) |
| 906 | if byte_order() == 'big': |
| 907 | words = words[::-1] |
| 908 | return words |
| 909 | |
| 910 | def __int__(self): |
| 911 | """ |
nothing calls this directly
no test coverage detected