aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ui.h')
-rw-r--r--gdb/ui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ui.h b/gdb/ui.h
index 3fa568b..95cf273 100644
--- a/gdb/ui.h
+++ b/gdb/ui.h
@@ -135,6 +135,11 @@ struct ui
/* See enum prompt_state's description. */
enum prompt_state prompt_state = PROMPT_NEEDED;
+ /* Whether the prompt should be kept blocked. This is useful to not
+ unblock the prompt too early in the context of nested command
+ execution. */
+ bool keep_prompt_blocked = false;
+
/* The fields below that start with "m_" are "private". They're
meant to be accessed through wrapper macros that make them look
like globals. */