gdb/cli: convert cli_suppress_notification from int to bool

Convert the suppress_notification flag for the CLI from int to bool.
This commit is contained in:
Tankut Baris Aktemur 2022-02-07 08:26:55 +01:00
parent 6a9d08661b
commit f36c891801
4 changed files with 11 additions and 14 deletions

View file

@ -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. */