diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2022-02-07 08:26:55 +0100 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2022-02-07 08:26:55 +0100 |
commit | f36c8918018ae5036fafafd76df71084fc50a5a9 (patch) | |
tree | 464ea298737e2f6bf10f5a6e62a4b704c19d1083 /gdb/cli/cli-interp.c | |
parent | 6a9d08661b361e497baa76dd6d8685f2cb593adb (diff) | |
download | binutils-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-interp.c')
-rw-r--r-- | gdb/cli/cli-interp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index 6dc3e6a..eb1edcc 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.c @@ -68,10 +68,7 @@ cli_interp::~cli_interp () } /* Suppress notification struct. */ -struct cli_suppress_notification cli_suppress_notification = - { - 0 /* user_selected_context_changed */ - }; +struct cli_suppress_notification cli_suppress_notification; /* Returns the INTERP's data cast as cli_interp if INTERP is a CLI, and returns NULL otherwise. */ |