aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-05-09 12:04:58 -0600
committerTom Tromey <tom@tromey.com>2020-05-09 12:04:58 -0600
commit2f78cffc1671188924ab3ec46a6a962894add49a (patch)
treed395ff43cd58b737454ad1593cc4a673d55eca18 /gdb/top.h
parent6dc55ce97db90a9e6f201d67ca05608e19287ba1 (diff)
downloadgdb-2f78cffc1671188924ab3ec46a6a962894add49a.zip
gdb-2f78cffc1671188924ab3ec46a6a962894add49a.tar.gz
gdb-2f78cffc1671188924ab3ec46a6a962894add49a.tar.bz2
Change server_command to bool
I noticed that "server_command" is an int, but really it should be a bool. gdb/ChangeLog 2020-05-09 Tom Tromey <tom@tromey.com> * top.c (server_command): Now bool. * top.h (server_command): Now bool.
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.h b/gdb/top.h
index 0cbb244..e98772a 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -281,7 +281,7 @@ extern void gdb_init (char *);
extern int source_line_number;
extern std::string source_file_name;
extern bool history_expansion_p;
-extern int server_command;
+extern bool server_command;
extern char *lim_at_start;
extern void gdb_add_history (const char *);