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