]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Restore ui_file::can_page
authorTom Tromey <tom@tromey.com>
Tue, 9 Dec 2025 16:37:26 +0000 (09:37 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 9 Feb 2026 15:09:10 +0000 (08:09 -0700)
commitbb6648900cd3d5001b651cdbb35c7e9c43fe00d2
tree39016fc61f698b3ad55d01fe021451435f2170c9
parent2f3d3fbd2403261c8afed1e5bd4e1fd005482921
Restore ui_file::can_page

A while back, I removed the ui_file::can_page method.  It wasn't
needed for a while, due to how output redirections were done.

With the new approach in this series, it's convenient to have this
method again, because the pipeline downstream from the pager won't
change when logging -- the logging filter will be enabled or disabled
without reconfiguring the pipeline.  This method lets the pager adapt
correctly.

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