diff options
author | Tom Tromey <tom@tromey.com> | 2019-11-12 17:15:12 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-12-20 09:15:51 -0700 |
commit | d4669c0fc75ad5ad2e99748f9307b5038955f9d3 (patch) | |
tree | 9578f9233074c3b67d92d0d9dfa89d01259e0f98 /gdb/ChangeLog | |
parent | 1ae58f0c640ccef6ae9cc9b349547bb552274b69 (diff) | |
download | gdb-d4669c0fc75ad5ad2e99748f9307b5038955f9d3.zip gdb-d4669c0fc75ad5ad2e99748f9307b5038955f9d3.tar.gz gdb-d4669c0fc75ad5ad2e99748f9307b5038955f9d3.tar.bz2 |
Remove some unnecessary focus switches
A couple of lower-level utility functions can change the TUI focus.
This seems incorrect to me -- focus switches should only be done
either by explicit user request, or ass a side effect of changing the
layout.
gdb/ChangeLog
2019-12-20 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.c
(tui_source_window_base::update_source_window_as_is): Don't switch focus.
* tui/tui-disasm.c (tui_show_disassem): Don't switch focus.
Change-Id: I0a5bb8a407cf8d52e2fd23b0598eb9bce56b1251
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ac1430..0ef7b0c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2019-12-20 Tom Tromey <tom@tromey.com> + * tui/tui-winsource.c + (tui_source_window_base::update_source_window_as_is): Don't switch focus. + * tui/tui-disasm.c (tui_show_disassem): Don't switch focus. + +2019-12-20 Tom Tromey <tom@tromey.com> + * tui/tui-winsource.h (struct tui_source_window_base) <maybe_update>: Remove line_no and addr parameters. * tui/tui-stack.c (tui_show_frame_info): Set PC on sal. Update. |