aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.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/breakpoint.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/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 7edba89..90c8503 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -3591,9 +3591,9 @@ breakpoint_1 (int bnum, int allflag)
#ifdef UI_OUT
if (addressprint)
- ui_out_table_begin (uiout, 6, "BreakpointTable");
+ ui_out_table_begin (uiout, 6, nr_printable_breakpoints, "BreakpointTable");
else
- ui_out_table_begin (uiout, 5, "BreakpointTable");
+ ui_out_table_begin (uiout, 5, nr_printable_breakpoints, "BreakpointTable");
#endif /* UI_OUT */
#ifdef UI_OUT