Bug 26650 - SIGWINCH handling overrides unlimited height setting
Summary: SIGWINCH handling overrides unlimited height setting
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: cli (show other bugs)
Version: 10.1
: P2 normal
Target Milestone: ---
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-22 16:04 UTC by Andreas Schwab
Modified: 2020-09-24 15:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2020-09-22 16:04:45 UTC
When gdb receives SIGWINCH it always sets height to the current terminal geometry, even if height is currently set to 0 (unlimited).
Comment 1 Tom Tromey 2020-09-23 19:39:30 UTC
Maybe "set pagination off" is better, but I think we can still
preserve this.
Comment 3 Andreas Schwab 2020-09-24 15:03:42 UTC
Perhaps init_page_info should use pagination_enabled instead of lines_per_page.