diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-31 10:40:02 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-01-05 11:01:02 -0700 |
commit | d53fd721a18f8c827aa69ffbd15abd99641b5e20 (patch) | |
tree | 436641845129a7eb9eb38733a456656da9312366 /gdb/Makefile.in | |
parent | 28a4e64dd1b17b0d9f267c3466d7da3e8a41afd8 (diff) | |
download | gdb-d53fd721a18f8c827aa69ffbd15abd99641b5e20.zip gdb-d53fd721a18f8c827aa69ffbd15abd99641b5e20.tar.gz gdb-d53fd721a18f8c827aa69ffbd15abd99641b5e20.tar.bz2 |
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.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 8cd9747..d0db5fb 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -477,6 +477,7 @@ SELFTESTS_SRCS = \ unittests/style-selftests.c \ unittests/tracepoint-selftests.c \ unittests/tui-selftests.c \ + unittests/ui-file-selftests.c \ unittests/unpack-selftests.c \ unittests/utils-selftests.c \ unittests/vec-utils-selftests.c \ |