diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-09-30 20:18:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-09-30 20:18:52 +0000 |
commit | c7ec4050c5b4bcb43dc3e225157cc0e37605b5f0 (patch) | |
tree | a330dfcb51dda44c514af58d6b8452396d3a2dd4 /gdb/mi/mi-out.h | |
parent | 30458d39d6f791293f844ab9f75c4f465d52e74c (diff) | |
download | binutils-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.h | 3 |
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 */ |