]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Small rewrite of get_unbuffered
authorTom Tromey <tom@tromey.com>
Sun, 7 Dec 2025 00:45:16 +0000 (18:45 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 9 Feb 2026 15:09:08 +0000 (08:09 -0700)
commite8f5d59294b77b0ffa72f1e2da04b623d6fd1ef6
tree171e1dea6480c12d3f98e79cf5dbdb80bd80b4da
parent0e186376c474c2c3b8e78c799d51681326284877
Small rewrite of get_unbuffered

This rewrites get_unbuffered to use iteration rather than recursion.

I also noticed a typo in the documentation comment, so that's fixed as
well.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/ui-out.c
gdb/ui-out.h