summaryrefslogtreecommitdiff
path: root/gdb/mi/mi-out.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-09-30 20:18:52 +0000
committerAndrew Cagney <cagney@redhat.com>2002-09-30 20:18:52 +0000
commit3c927fc96109ac289b7fd14f5ca3022c509a0d26 (patch)
tree54b370ac10ae3bb066c6fe11b49552b14f590682 /gdb/mi/mi-out.h
parentb1a6c2c1ec2975dafc6f40a0a44b2c2ad8cb8085 (diff)
downloadgdb-3c927fc96109ac289b7fd14f5ca3022c509a0d26.tar.gz
2002-09-29 Andrew Cagney <ac131313@redhat.com>kseitz_interps-20020930-merge
* mi-out.c (mi_version): New function. * mi-out.h (mi_version): Declare.
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 1ae693f4761..817f2eb53b9 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 */