commit | b6cdbc9a8173b9e6cc8cfc284caa0efa8129ca02 | [log] [tgz] |
---|---|---|
author | Simon Marchi <simon.marchi@polymtl.ca> | Sat Jul 30 12:01:12 2022 -0400 |
committer | Simon Marchi <simon.marchi@polymtl.ca> | Wed Sep 21 10:59:51 2022 -0400 |
tree | 4b7956463a020307fcfa270fdb15f744adcf5c18 | |
parent | 27710edb4e588d0360620df424dd7ee7e8cfafee [diff] |
gdb: add type::length / type::set_length Add the `length` and `set_length` methods on `struct type`, in order to remove the `TYPE_LENGTH` macro. In this patch, the macro is changed to use the getter, so all the call sites of the macro that are used as a setter are changed to use the setter method directly. The next patch will remove the macro completely. Change-Id: Id1090244f15c9856969b9be5006aefe8d8897ca4