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/breakpoint.c | |
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/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index e8c9c73..879a31e 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -3601,23 +3601,23 @@ breakpoint_1 (int bnum, int allflag) { annotate_breakpoints_headers (); annotate_field (0); - ui_out_table_header (uiout, 3, ui_left, "Num"); /* 1 */ + ui_out_table_header (uiout, 3, ui_left, "number", "Num"); /* 1 */ annotate_field (1); - ui_out_table_header (uiout, 14, ui_left, "Type"); /* 2 */ + ui_out_table_header (uiout, 14, ui_left, "type", "Type"); /* 2 */ annotate_field (2); - ui_out_table_header (uiout, 4, ui_left, "Disp"); /* 3 */ + ui_out_table_header (uiout, 4, ui_left, "disp", "Disp"); /* 3 */ annotate_field (3); - ui_out_table_header (uiout, 3, ui_left, "Enb"); /* 4 */ + ui_out_table_header (uiout, 3, ui_left, "enabled", "Enb"); /* 4 */ if (addressprint) { annotate_field (4); if (TARGET_ADDR_BIT <= 32) - ui_out_table_header (uiout, 10, ui_left, "Address"); /* 5 */ + ui_out_table_header (uiout, 10, ui_left, "addr", "Address");/* 5 */ else - ui_out_table_header (uiout, 18, ui_left, "Address"); /* 5 */ + ui_out_table_header (uiout, 18, ui_left, "addr", "Address");/* 5 */ } annotate_field (5); - ui_out_table_header (uiout, 40, ui_noalign, "What"); /* 6 */ + ui_out_table_header (uiout, 40, ui_noalign, "what", "What"); /* 6 */ ui_out_table_body (uiout); annotate_breakpoints_table (); } |