diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-07-12 22:58:50 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-07-12 22:58:50 -0400 |
commit | c4dfcb3638cbdb33589e3789df45d76178b333bf (patch) | |
tree | c44705cd72d8c10eb1629f14abaa5e858de041a3 /gdb/eval.c | |
parent | 07716b63cb03c5489d243a48fef73930206d348f (diff) | |
download | gdb-c4dfcb3638cbdb33589e3789df45d76178b333bf.zip gdb-c4dfcb3638cbdb33589e3789df45d76178b333bf.tar.gz gdb-c4dfcb3638cbdb33589e3789df45d76178b333bf.tar.bz2 |
gdb: add type::bounds / type::set_bounds
Add the `bounds` and `set_bounds` methods on `struct type`, in order to
remove the `TYPE_RANGE_DATA` macro. In this patch, the
`TYPE_RANGE_DATA` macro is changed to use `type::bounds`, so all the
call sites that are used to set a range type's bounds are changed to use
`type::set_bounds`. The next patch will remove `TYPE_RANGE_DATA`
completely.
gdb/ChangeLog:
* gdbtypes.h (struct type) <bounds, set_bounds>: New methods.
(TYPE_RANGE_DATA): Use type::bounds. Change all uses that
are used to set the range type's bounds to use set_bounds.
Change-Id: I62e15506239b98404e62bbea8120db184ed87847
Diffstat (limited to 'gdb/eval.c')
0 files changed, 0 insertions, 0 deletions