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
commitc7ec4050c5b4bcb43dc3e225157cc0e37605b5f0 (patch)
treea330dfcb51dda44c514af58d6b8452396d3a2dd4 /gdb/mi/mi-out.h
parent30458d39d6f791293f844ab9f75c4f465d52e74c (diff)
downloadbinutils-gdb-c7ec4050c5b4bcb43dc3e225157cc0e37605b5f0.tar.gz
2002-09-29 Andrew Cagney <ac131313@redhat.com>
* 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 */