aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorPatrick Palka <patrick@parcs.ath.cx>2015-04-23 18:36:58 -0400
committerPatrick Palka <patrick@parcs.ath.cx>2015-04-28 08:50:11 -0400
commita88d0bb33c28bc51c0f53cdd5c42d00217a1d771 (patch)
tree50700ac5cf748f69c2cc7ac921db83044a8e47d1 /gdb/utils.c
parentd6e5e7f7fd90baad9cbfaa5a187b5f0b1a0b8cf6 (diff)
downloadgdb-a88d0bb33c28bc51c0f53cdd5c42d00217a1d771.zip
gdb-a88d0bb33c28bc51c0f53cdd5c42d00217a1d771.tar.gz
gdb-a88d0bb33c28bc51c0f53cdd5c42d00217a1d771.tar.bz2
Update our idea of our terminal's dimensions even outside of TUI
When in the CLI, GDB's "width" and "height" variables are not kept in sync when the underlying terminal gets resized. This patch fixes this issue by making sure sure to update GDB's "width" and "height" variables in the !tui_active case of our SIGWINCH handler. gdb/ChangeLog: * tui/tui-win.c (tui_sigwinch_handler): Remove now-stale comment. (tui_sigwinch_handler): Still update our idea of the terminal's width and height even when TUI is not active.
Diffstat (limited to 'gdb/utils.c')
0 files changed, 0 insertions, 0 deletions