diff options
author | Tom Tromey <tom@tromey.com> | 2020-05-09 12:04:58 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-05-09 12:04:58 -0600 |
commit | 2f78cffc1671188924ab3ec46a6a962894add49a (patch) | |
tree | d395ff43cd58b737454ad1593cc4a673d55eca18 /gdb/top.h | |
parent | 6dc55ce97db90a9e6f201d67ca05608e19287ba1 (diff) | |
download | gdb-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *); |