diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-19 16:19:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-19 16:19:16 +0000 |
commit | d63f1d40c66c4b61df93fe68e34ac18a3bcd1072 (patch) | |
tree | f6f82b34726c596898f9fdb666f1aad0b0213fd8 /gdb/mi | |
parent | cb840a31ad6c4931be63584da61cfe1e3f311d83 (diff) | |
download | gdb-d63f1d40c66c4b61df93fe68e34ac18a3bcd1072.zip gdb-d63f1d40c66c4b61df93fe68e34ac18a3bcd1072.tar.gz gdb-d63f1d40c66c4b61df93fe68e34ac18a3bcd1072.tar.bz2 |
* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
(default_table_begin): Ditto.
* breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
ui_out_table_begin.
Update everything.
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); |