diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-22 11:48:26 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-22 11:48:28 -0700 |
commit | 427326a826888b39a38c9f1b497aa981f37b72af (patch) | |
tree | 6add38d94856d4c2677f41b60b42be8d6b68ee26 /gdb/progspace.h | |
parent | 3fe12b6d67182a81d2ffabbfe405fb5ffc0694b2 (diff) | |
download | binutils-427326a826888b39a38c9f1b497aa981f37b72af.zip binutils-427326a826888b39a38c9f1b497aa981f37b72af.tar.gz binutils-427326a826888b39a38c9f1b497aa981f37b72af.tar.bz2 |
Simplify TUI C-x 2 binding
The TUI "C-x 2" binding tries to switch to a different layout based on
the current layout. Once user-defined layouts are available, this
won't really make sense. I wasn't entirely sure how to handle this.
This patch changes the binding to simply cycle through the existing
layouts. I considered this a reasonable, though not ideal,
compromise.
gdb/ChangeLog
2020-02-22 Tom Tromey <tom@tromey.com>
* tui/tui.c (tui_rl_change_windows): Call tui_next_layout.
* tui/tui-layout.h (tui_next_layout): Declare.
* tui/tui-layout.c (tui_next_layout): New function.
Change-Id: Ic101f0e3831a4235a048b3090ef60f025f7449bb
Diffstat (limited to 'gdb/progspace.h')
0 files changed, 0 insertions, 0 deletions