diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-21 15:39:54 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-21 15:39:54 +0000 |
commit | b25959ec59e10f6956995cbf3bed1bbec7f36d5d (patch) | |
tree | e82fc5d7f301a0ca34f25bb3c6e4cefa25b4194b /gdb/mi | |
parent | 89084430cd9a100fb2a1f1ae515e137f42a24f0e (diff) | |
download | gdb-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/mi')
-rw-r--r-- | gdb/mi/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mi/mi-out.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index fbf92ac..447138c 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,7 @@ +2001-06-20 Andrew Cagney <ac131313@redhat.com> + + * mi-out.c (mi_table_header): Add parameter ``col_name''. + 2001-06-18 Andrew Cagney <ac131313@redhat.com> * mi-out.c: Include "gdb_assert.h". diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c index 1aaac6a..1cc8180 100644 --- a/gdb/mi/mi-out.c +++ b/gdb/mi/mi-out.c @@ -44,7 +44,7 @@ static void mi_table_begin (struct ui_out *uiout, int nbrofcols, static void mi_table_body (struct ui_out *uiout); static void mi_table_end (struct ui_out *uiout); static void mi_table_header (struct ui_out *uiout, int width, - enum ui_align alig, + enum ui_align alig, const char *col_name, const char *colhdr); static void mi_begin (struct ui_out *uiout, enum ui_out_type type, int level, const char *id); @@ -138,6 +138,7 @@ mi_table_end (struct ui_out *uiout) void mi_table_header (struct ui_out *uiout, int width, int alignment, + const char *col_name, const char *colhdr) { struct ui_out_data *data = ui_out_data (uiout); |