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.
+2020-05-09 Tom Tromey <tom@tromey.com>
+
+ * top.c (server_command): Now bool.
+ * top.h (server_command): Now bool.
+
2020-05-08 Tom Tromey <tromey@adacore.com>
* dwarf2/read.c (read_lexical_block_scope): Don't process a DIE
whatever) can issue its own commands and also send along commands
from the user, and have the user not notice that the user interface
is issuing commands too. */
-int server_command;
+bool server_command;
/* Timeout limit for response from target. */
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 *);