aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-09-06 14:19:40 -0500
committerChristian Biesinger <cbiesinger@google.com>2019-09-06 14:34:00 -0500
commitead0e69a4ab34d0c689f0c4c310b8d788867da32 (patch)
tree8576865db99709d178d08ee5039cc690d4862b0d /gdb/defs.h
parentf5c3a9e3055224d8ed8140d48c96465294839e95 (diff)
downloadgdb-ead0e69a4ab34d0c689f0c4c310b8d788867da32.zip
gdb-ead0e69a4ab34d0c689f0c4c310b8d788867da32.tar.gz
gdb-ead0e69a4ab34d0c689f0c4c310b8d788867da32.tar.bz2
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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index ece3006..14e0a3e 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -282,7 +282,7 @@ struct value;
/* This really belong in utils.c (path-utils.c?), but it references some
globals that are currently only available to main.c. */
-extern char *relocate_gdb_directory (const char *initial, int flag);
+extern char *relocate_gdb_directory (const char *initial, bool relocatable);
/* Annotation stuff. */