diff options
Diffstat (limited to 'gdb/ada-tasks.c')
-rw-r--r-- | gdb/ada-tasks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c index f107d4e4c28..8d0dec30485 100644 --- a/gdb/ada-tasks.c +++ b/gdb/ada-tasks.c @@ -943,8 +943,8 @@ ada_tasks_inferior_data_sniffer (struct ada_tasks_inferior_data *data) && eltype->code () == TYPE_CODE_PTR) idxtype = check_typedef (type->index_type ()); if (idxtype != NULL - && idxtype->bounds ()->low.kind () != PROP_UNDEFINED - && idxtype->bounds ()->high.kind () != PROP_UNDEFINED) + && idxtype->bounds ()->low.is_constant () + && idxtype->bounds ()->high.is_constant ()) { data->known_tasks_element = eltype; data->known_tasks_length = |