* cli-out.c: Include "gdb_assert.h'.
authorAndrew Cagney <cagney@redhat.com>
Tue, 19 Jun 2001 20:30:11 +0000 (20:30 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 19 Jun 2001 20:30:11 +0000 (20:30 +0000)
commit698384cd697ed840db169c7fe177f9021841624f
tree6019e15470da4b8d6c5da0161cc81149d872655b
parent429d935daaf8b8bd56656d15801b6b61412eca3d
* cli-out.c: Include "gdb_assert.h'.
(struct ui_out_data): Add field ``suppress_output.
(cli_table_begin): When NR_ROWS is zero, suppress_output.
(cli_table_end): Clear suppress_output.
(cli_table_body): Check suppress_output.
(cli_table_header, cli_begin): Ditto.
(cli_end, cli_field_int, cli_field_skip): Ditto.
(cli_field_string, cli_field_fmt, cli_spaces): Ditto.
(cli_text, cli_message, cli_wrap_hint): Ditto.
* breakpoint.c (breakpoint_1): Close the ui_out table before
printing the breakpoint not found message.
gdb/ChangeLog
gdb/breakpoint.c
gdb/cli-out.c