aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-out.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/mi-out.h')
-rw-r--r--gdb/mi/mi-out.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/mi/mi-out.h b/gdb/mi/mi-out.h
index 1ae693f..817f2eb 100644
--- a/gdb/mi/mi-out.h
+++ b/gdb/mi/mi-out.h
@@ -30,4 +30,7 @@ extern void mi_out_put (struct ui_out *uiout, struct ui_file *stream);
extern void mi_out_rewind (struct ui_out *uiout);
extern void mi_out_buffered (struct ui_out *uiout, char *string);
+/* Return the version number of the current MI. */
+extern int mi_version (struct ui_out *uiout);
+
#endif /* MI_OUT_H */