summaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-21 15:39:54 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-21 15:39:54 +0000
commit38793a3cc3f4c1f259fa8eb922c5f63a0523663b (patch)
tree2afe87820b93c71bb46b89dc78786c94c2398c6a /gdb/ui-out.h
parent80eaa55fb2a9e4cb5746c98e7d575947d68e23e3 (diff)
downloadgdb-38793a3cc3f4c1f259fa8eb922c5f63a0523663b.tar.gz
* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
(table_header_ftype): Ditto. * cli-out.c (cli_table_header): Update. * ui-out.c (ui_out_table_header): Update. (uo_table_header): Update. (default_table_header): Update. (append_header_to_list): Update. (struct ui_out_header): Add field ``col_name''. (append_header_to_list): Use xstrdup. Initialize col_name. * breakpoint.c (breakpoint_1): Pass COL_NAME to ui_out_table_header.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index b302d843ad1..e71c291fcad 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -93,7 +93,8 @@ extern void ui_out_table_begin (struct ui_out *uiout, int nbrofcols,
int nr_rows, const char *tblid);
extern void ui_out_table_header (struct ui_out *uiout, int width,
- enum ui_align align, const char *colhdr);
+ enum ui_align align, const char *col_name,
+ const char *colhdr);
extern void ui_out_table_body (struct ui_out *uiout);
@@ -197,7 +198,7 @@ typedef void (table_begin_ftype) (struct ui_out * uiout,
typedef void (table_body_ftype) (struct ui_out * uiout);
typedef void (table_end_ftype) (struct ui_out * uiout);
typedef void (table_header_ftype) (struct ui_out * uiout, int width,
- enum ui_align align,
+ enum ui_align align, const char *col_name,
const char *colhdr);
/* Note: level 0 is the top-level so LEVEL is always greater than
zero. */