Change int to bool for the relocate_* functions
authorChristian Biesinger <cbiesinger@google.com>
Fri, 6 Sep 2019 19:19:40 +0000 (14:19 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Fri, 6 Sep 2019 19:34:00 +0000 (14:34 -0500)
commitead0e69a4ab34d0c689f0c4c310b8d788867da32
tree8576865db99709d178d08ee5039cc690d4862b0d
parentf5c3a9e3055224d8ed8140d48c96465294839e95
Change int to bool for the relocate_* functions

These parameters are only used as bools. This also
renames "flag" to "relocatable" to make it clearer
what it does.

gdb/ChangeLog:

2019-09-06  Christian Biesinger  <cbiesinger@google.com>

* defs.h (relocate_gdb_directory): Change int to bool in
signature and rename flag to relocatable.
* main.c (relocate_path): Likewise.
(relocate_gdb_directory): Likewise.
gdb/ChangeLog
gdb/defs.h
gdb/main.c