aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 09:22:58 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 11:26:14 -0400
commit4111db1af3ac9be50a49ad69b255a6cd4198037b (patch)
tree0bc6f603c3eaf1a3a9db6d219f00db5977264399 /gdb/event-top.c
parent1487293966460b07f585799834c928552aaf8202 (diff)
downloadfsf-binutils-gdb-4111db1af3ac9be50a49ad69b255a6cd4198037b.zip
fsf-binutils-gdb-4111db1af3ac9be50a49ad69b255a6cd4198037b.tar.gz
fsf-binutils-gdb-4111db1af3ac9be50a49ad69b255a6cd4198037b.tar.bz2
gdb: change type of quit_flag to bool
Change-Id: I7dc5189ee172e82ef5b2c4a739c011f43a84258b Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 6a2a75f..8411ec5 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -1113,7 +1113,7 @@ handle_sigint (int sig)
/* We could be running in a loop reading in symfiles or something so
it may be quite a while before we get back to the event loop. So
- set quit_flag to 1 here. Then if QUIT is called before we get to
+ set quit_flag to true here. Then if QUIT is called before we get to
the event loop, we will unwind as expected. */
set_quit_flag ();
@@ -1193,7 +1193,7 @@ handle_sigterm (int sig)
void
async_request_quit (gdb_client_data arg)
{
- /* If the quit_flag has gotten reset back to 0 by the time we get
+ /* If the quit_flag has gotten reset back to false by the time we get
back here, that means that an exception was thrown to unwind the
current command before we got back to the event loop. So there
is no reason to call quit again here. */