aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/event-loop.cc
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-09-23 12:57:19 -0600
committerTom Tromey <tromey@adacore.com>2020-09-24 12:25:59 -0600
commitb551a89f51504735e9979ac885a5784e21cfecef (patch)
tree508c40ffd9fabc399f80cb7987abdba626fc7e44 /gdbsupport/event-loop.cc
parent99bb393f1d107cf2c4016c486f85625d362027a7 (diff)
downloadgdb-b551a89f51504735e9979ac885a5784e21cfecef.zip
gdb-b551a89f51504735e9979ac885a5784e21cfecef.tar.gz
gdb-b551a89f51504735e9979ac885a5784e21cfecef.tar.bz2
Don't let TUI focus on locator
PR tui/26638 notes that the C-x o binding can put the focus on the locator window. However, this is not useful and did not happen historically. This patch changes the TUI to skip this window when switching focus. gdb/ChangeLog 2020-09-24 Tom Tromey <tromey@adacore.com> PR tui/26638: * tui/tui-stack.h (struct tui_locator_window) <can_focus>: New method. * tui/tui-data.h (struct tui_win_info) <can_focus>: New method. * tui/tui-data.c (tui_next_win): Exclude non-focusable windows. (tui_prev_win): Rewrite. gdb/testsuite/ChangeLog 2020-09-24 Tom Tromey <tromey@adacore.com> PR tui/26638: * gdb.tui/list.exp: Check output of "focus next".
Diffstat (limited to 'gdbsupport/event-loop.cc')
0 files changed, 0 insertions, 0 deletions