aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
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.c
parent6dc55ce97db90a9e6f201d67ca05608e19287ba1 (diff)
downloadfsf-binutils-gdb-2f78cffc1671188924ab3ec46a6a962894add49a.zip
fsf-binutils-gdb-2f78cffc1671188924ab3ec46a6a962894add49a.tar.gz
fsf-binutils-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.c')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 9fb9d5c..3589d6b 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -174,7 +174,7 @@ static const char *previous_repeat_arguments;
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. */