diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-23 09:22:57 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-23 11:26:14 -0400 |
commit | 1487293966460b07f585799834c928552aaf8202 (patch) | |
tree | 50dd79ac18b608f5f54c8fcc7cddb35ac4a823d8 /gdb/extension.h | |
parent | 7d21eff9442d75c2b1d4beec1120115bf252dfdf (diff) | |
download | binutils-1487293966460b07f585799834c928552aaf8202.zip binutils-1487293966460b07f585799834c928552aaf8202.tar.gz binutils-1487293966460b07f585799834c928552aaf8202.tar.bz2 |
gdb: change return type of check_quit_flag to bool
Change the return type of the check_quit_flag function to bool. Update
a few related spots.
Change-Id: I9d3a15d3f8651efb02c7d211f06222a592bd4184
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/extension.h')
-rw-r--r-- | gdb/extension.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/extension.h b/gdb/extension.h index 94a500d..258a77d 100644 --- a/gdb/extension.h +++ b/gdb/extension.h @@ -447,7 +447,7 @@ private: The flag is checked in all extension languages that support cooperative SIGINT handling, not just the current one. This simplifies transitions. */ -extern int check_quit_flag (); +extern bool check_quit_flag (); /* Set the quit flag. This only sets the flag in the currently active extension language. |