]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: make get_array_bounds return bool
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 17 Nov 2020 22:53:27 +0000 (17:53 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 17 Nov 2020 23:47:05 +0000 (18:47 -0500)
commit584903d3f5b2243ec6b179d0853726d3d7d83f2e
tree83227830cb2f2dff73323c813e4eb54e93dfcfb5
parent3d955acb36f483c05724181da5ffba46b1303c43
gdb: make get_array_bounds return bool

Obvious change from int to bool.  I took the opportunity to move the doc
to the header file.

gdb/ChangeLog:

* gdbtypes.h (get_array_bounds): Return bool, adjust some
callers.  Move doc here.
* gdbtypes.c (get_array_bounds): Return bool

Change-Id: I8ed20298cb0927963c1f09b345966533d5ed06e2
gdb/ChangeLog
gdb/compile/compile-c-types.c
gdb/compile/compile-cplus-types.c
gdb/gdbtypes.c
gdb/gdbtypes.h