binutils-gdb/gdb/unittests
Tom Tromey d53fd721a1 Implement putstr and putstrn in ui_file
In my tour of the ui_file subsystem, I found that fputstr and fputstrn
can be simplified.  The _filtered forms are never used (and IMO
unlikely to ever be used) and so can be removed.  And, the interface
can be simplified by removing a callback function and moving the
implementation directly to ui_file.

A new self-test is included.  Previously, I think nothing was testing
this code.

Regression tested on x86-64 Fedora 34.
2022-01-05 11:01:02 -07:00
..
basic_string_view Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
optional Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
array-view-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
child-path-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cli-utils-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
command-def-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
common-utils-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
copy_bitwise-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
enum-flags-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
environ-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
filtered_iterator-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
format_pieces-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
function-view-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
gdb_tilde_expand-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
gmp-utils-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
intrusive_list-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
lookup_name_info-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
main-thread-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
memory-map-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
memrange-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mkdir-recursive-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
observable-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
offset-type-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
optional-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
parallel-for-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
parse-connection-spec-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
ptid-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
rsp-low-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
scoped_fd-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
scoped_ignore_signal-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
scoped_mmap-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
scoped_restore-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
search-memory-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
string_view-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
style-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
tracepoint-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
tui-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
ui-file-selftests.c Implement putstr and putstrn in ui_file 2022-01-05 11:01:02 -07:00
unpack-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
utils-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
vec-utils-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
xml-utils-selftests.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00