]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Move buffered stream to new files
authorTom Tromey <tom@tromey.com>
Sun, 7 Dec 2025 00:55:20 +0000 (18:55 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 9 Feb 2026 15:09:09 +0000 (08:09 -0700)
commit29d91b3c9036a7ff71c3d51bb5332d4be4f2ae13
treedf72649797ded176898bb83f0a82c867c7ca9a57
parente8f5d59294b77b0ffa72f1e2da04b623d6fd1ef6
Move buffered stream to new files

The buffered stream code is currently in ui-out.h and ui-out.c, which
seems weird because it seems more like a low-level ui-file idea (for
the most part, it does also affect some ui_out).

This patch moves the declarations to a new header file,
buffered-streams.h and the implementation to buffered-streams.c.  This
seems cleaner to me.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/Makefile.in
gdb/buffered-streams.c [new file with mode: 0644]
gdb/buffered-streams.h [new file with mode: 0644]
gdb/cli-out.c
gdb/debuginfod-support.c
gdb/infrun.c
gdb/stack.c
gdb/thread.c
gdb/ui-out.c
gdb/ui-out.h