diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-05-09 01:33:10 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-05-09 01:33:10 +0000 |
commit | 631ec795c9246b5862348ff41c297ccb978205c2 (patch) | |
tree | e25ced47e342b1b4f17f085e5d400a0e20cfb030 /gdb/cli-out.c | |
parent | 80f49b30cf8b59d9c3c513f399892125ad7bcb53 (diff) | |
download | gdb-631ec795c9246b5862348ff41c297ccb978205c2.zip gdb-631ec795c9246b5862348ff41c297ccb978205c2.tar.gz gdb-631ec795c9246b5862348ff41c297ccb978205c2.tar.bz2 |
Replace ui_out_list_{begin,end}() with ui_out_{begin,end}().
Diffstat (limited to 'gdb/cli-out.c')
-rw-r--r-- | gdb/cli-out.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/gdb/cli-out.c b/gdb/cli-out.c index d6fa98e..8d68e03 100644 --- a/gdb/cli-out.c +++ b/gdb/cli-out.c @@ -43,8 +43,9 @@ static void cli_table_body (struct ui_out *uiout); static void cli_table_end (struct ui_out *uiout); static void cli_table_header (struct ui_out *uiout, int width, enum ui_align alig, char *colhdr); -static void cli_list_begin (struct ui_out *uiout, int list_flag, char *lstid); -static void cli_list_end (struct ui_out *uiout, int list_flag); +static void cli_begin (struct ui_out *uiout, enum ui_out_type type, + int level, const char *lstid); +static void cli_end (struct ui_out *uiout, enum ui_out_type type, int level); static void cli_field_int (struct ui_out *uiout, int fldno, int width, enum ui_align alig, char *fldname, int value); static void cli_field_skip (struct ui_out *uiout, int fldno, int width, @@ -73,8 +74,8 @@ static struct ui_out_impl cli_ui_out_impl = cli_table_body, cli_table_end, cli_table_header, - cli_list_begin, - cli_list_end, + cli_begin, + cli_end, cli_field_int, cli_field_skip, cli_field_string, @@ -134,14 +135,19 @@ cli_table_header (struct ui_out *uiout, int width, enum ui_align alignment, /* Mark beginning of a list */ void -cli_list_begin (struct ui_out *uiout, int list_flag, char *lstid) +cli_begin (struct ui_out *uiout, + enum ui_out_type type, + int level, + const char *id) { } /* Mark end of a list */ void -cli_list_end (struct ui_out *uiout, int list_flag) +cli_end (struct ui_out *uiout, + enum ui_out_type type, + int level) { } |