]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use 'invalid' rather than 'predicate' in some gdbarch functions
authorTom Tromey <tom@tromey.com>
Mon, 4 Nov 2024 07:51:16 +0000 (00:51 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 7 Feb 2026 14:56:27 +0000 (07:56 -0700)
commit08ef6c0715fb47f8b0168a1b4367377d0c512286
tree1c0fd6af9411a0832155d7ed7787c38cd98c55bb
parent9b4b5499b74bcf17f8f8194ebc2b1f5528e26f01
Use 'invalid' rather than 'predicate' in some gdbarch functions

The check-gdbarch.py script points out that a few gdbarch functions
have a predicate that is never called.  This patch changes these
functions to use 'invalid=False' instead, removing a bit of code.
gdb/gdbarch-gen.c
gdb/gdbarch-gen.h
gdb/gdbarch_components.py