diff options
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mi/mi-out.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index e9b6049..fbf92ac 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,5 +1,10 @@ 2001-06-18 Andrew Cagney <ac131313@redhat.com> + * mi-out.c: Include "gdb_assert.h". + (mi_table_begin): Add parameter ``nr_rows''. + +2001-06-18 Andrew Cagney <ac131313@redhat.com> + * mi-main.c: Use strncmp as the "mi" test. Allow "mi", "mi0" and "mi1". (mi_command_loop): Add parameter mi_version, pass to mi_out_new. diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c index 034d3c1..1aaac6a 100644 --- a/gdb/mi/mi-out.c +++ b/gdb/mi/mi-out.c @@ -40,7 +40,7 @@ struct ui_out_data /* These are the MI output functions */ static void mi_table_begin (struct ui_out *uiout, int nbrofcols, - const char *tblid); + int nr_rows, const char *tblid); static void mi_table_body (struct ui_out *uiout); static void mi_table_end (struct ui_out *uiout); static void mi_table_header (struct ui_out *uiout, int width, @@ -106,6 +106,7 @@ static void out_field_fmt (struct ui_out *uiout, int fldno, char *fldname, void mi_table_begin (struct ui_out *uiout, int nbrofcols, + int nr_rows, const char *tblid) { struct ui_out_data *data = ui_out_data (uiout); |