aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/interps.h')
-rw-r--r--gdb/interps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/interps.h b/gdb/interps.h
index adccbb5..eba3387 100644
--- a/gdb/interps.h
+++ b/gdb/interps.h
@@ -116,6 +116,9 @@ extern int current_interp_set_logging (int start_log, struct ui_file *out,
extern void *top_level_interpreter_data (void);
extern struct interp *top_level_interpreter (void);
+/* Return the current UI's current interpreter. */
+extern struct interp *current_interpreter (void);
+
extern struct interp *command_interp (void);
extern void clear_interpreter_hooks (void);