gdb: change bcache::insert `added` parameter to bool
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 1 Sep 2020 16:54:38 +0000 (12:54 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 1 Sep 2020 16:55:57 +0000 (12:55 -0400)
commitef5e5b0b6534bed8e9dcd6494acf3f8ee418f8e5
tree9b864d1f92574dd5b51d29e7cc4bac2dd2555404
parent4c8584be76a2b95cd4876ac8622cb0f2d0fc1ad4
gdb: change bcache::insert `added` parameter to bool

It is currently an int, but it is used as a bool.

gdb/ChangeLog:

* bcache.h (struct bcache) <insert>: Change type of `added` to
pointer to bool.
* bcache.c (bcache::insert): Likewise.
* gdbtypes.c (check_types_worklist): Adjust.
* psymtab.c (add_psymbol_to_bcache): Adjust.

Change-Id: I06b1041636c656782a89cb6106c9ae2593f61616
gdb/ChangeLog
gdb/bcache.c
gdb/bcache.h
gdb/gdbtypes.c
gdb/psymtab.c