[PATCH 0/4] Clean up wrap_here function a little

Tom Tromey tom@tromey.com
Fri Dec 31 22:25:23 GMT 2021


One oddity in gdb is that wrap_here doesn't take a stream parameter.
This is a historical relic from before my involvement in gdb, but it
leads to kind of weird code that intermixes calls to wrap_here (which
only affects gdb_stdout) with writes to other streams.

This series is a step toward cleaning this up.  It's part of a larger
project to un-spaghettify gdb's output pager.

Regression tested on x86-64 Fedora 34.

Tom




More information about the Gdb-patches mailing list