gdb: remove TYPE_HIGH_BOUND and TYPE_LOW_BOUND
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 13 Jul 2020 02:58:51 +0000 (22:58 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 13 Jul 2020 02:58:52 +0000 (22:58 -0400)
commit5537ddd024adc7d1af6f9572983f77e9dd047fce
tree140eaabcf9d30e85f99be4c6b7f2d918ca310514
parent8c2e4e0689ea244d0ed979171a3d09c9176b8175
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
15 files changed:
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-tasks.c
gdb/ada-valprint.c
gdb/c-varobj.c
gdb/compile/compile-c-types.c
gdb/compile/compile-cplus-types.c
gdb/eval.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/guile/scm-type.c
gdb/m2-typeprint.c
gdb/m2-valprint.c
gdb/p-typeprint.c
gdb/python/py-type.c