aboutsummaryrefslogtreecommitdiff
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
commitb25959ec59e10f6956995cbf3bed1bbec7f36d5d (patch)
treee82fc5d7f301a0ca34f25bb3c6e4cefa25b4194b /gdb/ui-out.h
parent89084430cd9a100fb2a1f1ae515e137f42a24f0e (diff)
downloadgdb-b25959ec59e10f6956995cbf3bed1bbec7f36d5d.zip
gdb-b25959ec59e10f6956995cbf3bed1bbec7f36d5d.tar.gz
gdb-b25959ec59e10f6956995cbf3bed1bbec7f36d5d.tar.bz2
* 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 b302d84..e71c291 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. */