]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use ada_identical_enum_types_p in ada_atr_enum_rep
authorTom Tromey <tromey@adacore.com>
Mon, 26 Aug 2024 17:10:54 +0000 (11:10 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 6 Mar 2025 21:17:17 +0000 (14:17 -0700)
commita8551849716c2b29e59547212e3aa69b8f4e2ad8
tree4b6fb2305da41865a1e6b49312a7250048a53bce
parent7253760b5a0116505a9b13c9f6cbaa457ec8b74f
Use ada_identical_enum_types_p in ada_atr_enum_rep

With the coming changes to GNAT, we may see two distinct but
equivalent enum types in the DWARF.  In this case, it's better to use
ada_identical_enum_types_p rather than types_equal when comparing
these types... something that matters when using 'Enum_Rep.
gdb/ada-lang.c