gdb: make gdbarch predicates return bool
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 20 Oct 2020 21:34:30 +0000 (17:34 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 20 Oct 2020 21:34:44 +0000 (17:34 -0400)
commit3953519365a38f7cb31c00b150bd8e56caf8b314
tree2a7f252a3588f93d7a276fa9ac81f10bdaee0211
parentad523d014ca6baddbf84196e8a8a7a4335c1d03c
gdb: make gdbarch predicates return bool

gdbarch predicates (functions suffixed _p to check whether a gdbarch
implements a given method) currently return int.  Make them return bool.
There is no expected behavior change.

gdb/ChangeLog:

* gdbarch.sh: Make generated predicates return bool.
* gdbarch.c: Re-generate.
* gdbarch.h: Re-generate.

Change-Id: Ie7ebc1acae62df83da9085ba69327fca551c5a30
gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh