diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-02 11:54:06 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-29 12:46:25 -0600 |
commit | 9fbf7f083e21263b0a0e1f76d615adaa4e13cfe5 (patch) | |
tree | 82f2b1f6a73b856cc1033ad91c11986cdf6b6bb2 /gdb/utils.c | |
parent | d0b1020bf1f9f0e3824d61cd3821e3ea7773f828 (diff) | |
download | gdb-9fbf7f083e21263b0a0e1f76d615adaa4e13cfe5.zip gdb-9fbf7f083e21263b0a0e1f76d615adaa4e13cfe5.tar.gz gdb-9fbf7f083e21263b0a0e1f76d615adaa4e13cfe5.tar.bz2 |
Rename puts_filtered_tabular
puts_filtered_tabular is now misnamed, because whether filtering
happens is now up to the stream. So, rename it. (This function is
pretty weird, and should probably be rewritten to avoid using the
chars_printed global, and moved into objc-lang.c. However, I haven't
done so.)
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index e358a5a..bf6f4fb 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1504,15 +1504,14 @@ pager_file::wrap_here (int indent) } } -/* Print input string to gdb_stdout, filtered, with wrap, - arranging strings in columns of n chars. String can be - right or left justified in the column. Never prints - trailing spaces. String should never be longer than - width. FIXME: this could be useful for the EXAMINE - command, which currently doesn't tabulate very well. */ +/* Print input string to gdb_stdout arranging strings in columns of n + chars. String can be right or left justified in the column. Never + prints trailing spaces. String should never be longer than width. + FIXME: this could be useful for the EXAMINE command, which + currently doesn't tabulate very well. */ void -puts_filtered_tabular (char *string, int width, int right) +puts_tabular (char *string, int width, int right) { int spaces = 0; int stringlen; |