diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-12-09 13:51:57 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-12-09 15:23:56 -0500 |
commit | f47d1c255d21d7425b8a45c7a20979e9cb553ed8 (patch) | |
tree | a9dba65d47d91ce3eec2b69895ee5a2f5ae04a3b /gdb/mdebugread.c | |
parent | f5fca0ec15660667b202e4c2873af4df480956ea (diff) | |
download | gdb-f47d1c255d21d7425b8a45c7a20979e9cb553ed8.zip gdb-f47d1c255d21d7425b8a45c7a20979e9cb553ed8.tar.gz gdb-f47d1c255d21d7425b8a45c7a20979e9cb553ed8.tar.bz2 |
gdb: make get_discrete_bounds return bool
get_discrete_bounds currently has three possible return values (see its
current doc for details). It appears that for all callers, it would be
sufficient to have a boolean "worked" / "didn't work" return value.
Change the return type of get_discrete_bounds to bool and adjust all
callers. Doing so simplifies the following patch.
gdb/ChangeLog:
* gdbtypes.h (get_discrete_bounds): Return bool, adjust all
callers.
* gdbtypes.c (get_discrete_bounds): Return bool.
Change-Id: Ie51feee23c75f0cd7939742604282d745db59172
Diffstat (limited to 'gdb/mdebugread.c')
0 files changed, 0 insertions, 0 deletions