aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.h
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2022-02-07 08:26:56 +0100
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2022-02-07 08:26:56 +0100
commit2b826f759256b77b447da9831b079e32a7bb0cdb (patch)
treee0146d502f1893fc53fe727c3a7ce68ace42e794 /gdb/command.h
parentf36c8918018ae5036fafafd76df71084fc50a5a9 (diff)
downloadgdb-2b826f759256b77b447da9831b079e32a7bb0cdb.zip
gdb-2b826f759256b77b447da9831b079e32a7bb0cdb.tar.gz
gdb-2b826f759256b77b447da9831b079e32a7bb0cdb.tar.bz2
gdb/cli: add a 'normal_stop' option to 'cli_suppress_notification'
Extend the 'cli_suppress_notification' struct with a new field, 'normal_stop', that can be used for checking if printing normal stop events on the CLI should be suppressed. This patch only introduces the flag. The subsequent patch adds a user command to turn the flag off/on.
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/command.h b/gdb/command.h
index 258ec38..cd79814 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -379,6 +379,9 @@ struct cli_suppress_notification
{
/* Inferior, thread, frame selected notification suppressed? */
bool user_selected_context = false;
+
+ /* Normal stop event suppressed? */
+ bool normal_stop = false;
};
extern struct cli_suppress_notification cli_suppress_notification;