aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-out.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-19 16:19:16 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-19 16:19:16 +0000
commitd63f1d40c66c4b61df93fe68e34ac18a3bcd1072 (patch)
treef6f82b34726c596898f9fdb666f1aad0b0213fd8 /gdb/mi/mi-out.c
parentcb840a31ad6c4931be63584da61cfe1e3f311d83 (diff)
downloadgdb-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/mi-out.c')
-rw-r--r--gdb/mi/mi-out.c3
1 files changed, 2 insertions, 1 deletions
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);