]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove NR_DOMAINS
authorTom Tromey <tom@tromey.com>
Thu, 2 Mar 2023 22:08:42 +0000 (15:08 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 28 Jan 2024 17:58:16 +0000 (10:58 -0700)
commit0ff2d66b1f1f3125ff59a97539b97a61bc0d6bf3
tree8749f7c1a03b97a0839c0661edbcc9cb4370bdcd
parent790948cb0933c835e76ada717ab857852813e04f
Remove NR_DOMAINS

NR_DOMAINS is only used for a static assert, but we no longer need it
now.  If we add too many constants to this enum, GCC will warn about
the bitfield overflow:

    error: ‘symbol::m_domain’ is too small to hold all values of ‘enum domain_enum’
gdb/symtab.h