aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-decode.h
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2022-02-07 08:26:55 +0100
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2022-02-07 08:26:55 +0100
commitf36c8918018ae5036fafafd76df71084fc50a5a9 (patch)
tree464ea298737e2f6bf10f5a6e62a4b704c19d1083 /gdb/cli/cli-decode.h
parent6a9d08661b361e497baa76dd6d8685f2cb593adb (diff)
downloadbinutils-f36c8918018ae5036fafafd76df71084fc50a5a9.zip
binutils-f36c8918018ae5036fafafd76df71084fc50a5a9.tar.gz
binutils-f36c8918018ae5036fafafd76df71084fc50a5a9.tar.bz2
gdb/cli: convert cli_suppress_notification from int to bool
Convert the suppress_notification flag for the CLI from int to bool.
Diffstat (limited to 'gdb/cli/cli-decode.h')
-rw-r--r--gdb/cli/cli-decode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h
index db35ea4..18db882 100644
--- a/gdb/cli/cli-decode.h
+++ b/gdb/cli/cli-decode.h
@@ -271,7 +271,7 @@ struct cmd_list_element
cli_suppress_notification', which will be set to true in cmd_func
when this command is being executed. It will be set back to false
when the command has been executed. */
- int *suppress_notification = nullptr;
+ bool *suppress_notification = nullptr;
private:
/* Local state (context) for this command. This can be anything. */