summaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/top.h b/gdb/top.h
index abf5421fb78..7827a5346b7 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -134,8 +134,12 @@ struct ui
/* See enum prompt_state's description. */
enum prompt_state prompt_state;
+ /* Per-UI info for source.c. Initialized on demand. */
struct current_source_info *curr_source_info = NULL;
+ /* Per-UI info for printcmd.c. Initialized on demand. */
+ struct current_printcmd_info *curr_printcmd_info = NULL;
+
/* The fields below that start with "m_" are "private". They're
meant to be accessed through wrapper macros that make them look
like globals. */