aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-out.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-11-25 12:30:20 -0700
committerTom Tromey <tom@tromey.com>2018-11-25 15:29:35 -0700
commitb5b12e1dbe0f2739624f91621828df73ef55e900 (patch)
treef131305768ad73f88ce83248ef516fdba849a504 /gdb/tui/tui-out.c
parentbb31d44bb1a1594ebe0011d652574a6b4a852080 (diff)
downloadgdb-b5b12e1dbe0f2739624f91621828df73ef55e900.zip
gdb-b5b12e1dbe0f2739624f91621828df73ef55e900.tar.gz
gdb-b5b12e1dbe0f2739624f91621828df73ef55e900.tar.bz2
Remove obsolete comments from field_fmt
This removes some comments that I believe were made obsolete by the recent change to cli_ui_out::do_field_fmt. The comment in mi_ui_out probably was just copy/paste, because I think aligning never made sense in an MI context. gdb/ChangeLog 2018-11-25 Tom Tromey <tom@tromey.com> * ui-out.c (ui_out::field_fmt): Remove comment. * tui/tui-out.c (tui_ui_out::do_field_fmt): Remove comment. * mi/mi-out.c (mi_ui_out::do_field_fmt): Remove comment.
Diffstat (limited to 'gdb/tui/tui-out.c')
-rw-r--r--gdb/tui/tui-out.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-out.c b/gdb/tui/tui-out.c
index 40f736f..6d4e236 100644
--- a/gdb/tui/tui-out.c
+++ b/gdb/tui/tui-out.c
@@ -71,8 +71,6 @@ tui_ui_out::do_field_string (int fldno, int width, ui_align align,
cli_ui_out::do_field_string (fldno, width, align, fldname, string);
}
-/* This is the only field function that does not align. */
-
void
tui_ui_out::do_field_fmt (int fldno, int width, ui_align align,
const char *fldname, const char *format,