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 | Revert "elf: Remove the 1-page gap before the RELRO segment" (diff) | |
download | binutils-gdb-f36c8918018ae5036fafafd76df71084fc50a5a9.tar.gz binutils-gdb-f36c8918018ae5036fafafd76df71084fc50a5a9.tar.bz2 binutils-gdb-f36c8918018ae5036fafafd76df71084fc50a5a9.zip |
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 6dc3e6ae2fa..eb1edcc4ef1 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. */ |