]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Allow word wrapping even when paging is disabled
authorTom Tromey <tom@tromey.com>
Sun, 9 Jan 2022 01:26:35 +0000 (18:26 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 15 Apr 2022 17:38:13 +0000 (11:38 -0600)
commit1f0f8b5d9d9053c4d164d01c6915c2e6b8c6ea48
tree49add44180f6e8886bf07badde7a18102d4f4e25
parent1c9cc05244f67c4e5a888394b2c9a309164ca02d
Allow word wrapping even when paging is disabled

PR cli/20741 points out that when pagination is disabled, this also
disabled word wrapping.  However, the manual documents that these
settings are separate -- if you intend to disable the wrapping, you
must use "set width unlimited".

This patch fixes the bug by letting the pagination-disabled case fall
through to the code that also handles word-wrapping.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=20741
gdb/utils.c