forked from Imagelibrary/binutils-gdb
gdb: remove TYPE_HIGH_BOUND and TYPE_LOW_BOUND
Remove the macros, use the getters of `struct dynamic_prop` instead.
gdb/ChangeLog:
* gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND): Remove. Update
all callers to use type::range_bounds followed by
dynamic_prop::{low,high}.
Change-Id: I31beeed65d94d81ac4f999244a8b859e2ee961d1
This commit is contained in:
committed by
Simon Marchi
parent
8c2e4e0689
commit
5537ddd024
@@ -901,7 +901,8 @@ ada_tasks_inferior_data_sniffer (struct ada_tasks_inferior_data *data)
|
||||
{
|
||||
data->known_tasks_element = eltype;
|
||||
data->known_tasks_length =
|
||||
TYPE_HIGH_BOUND (idxtype) - TYPE_LOW_BOUND (idxtype) + 1;
|
||||
(idxtype->bounds ()->high.const_val ()
|
||||
- idxtype->bounds ()->low.const_val () + 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user