aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-source.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-10-08 20:06:09 -0600
committerTom Tromey <tom@tromey.com>2019-11-12 12:29:15 -0700
commited2c82c364043cf4726541cc7e8011197185b3f8 (patch)
tree18369482b2b6e123203d05f16476a3664a71cbe5 /gdb/tui/tui-source.c
parentd9fcefd53a7615b116cab0b0cd2085539d12bb6f (diff)
downloadgdb-ed2c82c364043cf4726541cc7e8011197185b3f8.zip
gdb-ed2c82c364043cf4726541cc7e8011197185b3f8.tar.gz
gdb-ed2c82c364043cf4726541cc7e8011197185b3f8.tar.bz2
Consolidate setting of current_layout
Currently several functions in tui-layout.c set current_layout after their work is done. This moves this assignment to show_layout, instead. gdb/ChangeLog 2019-11-12 Tom Tromey <tom@tromey.com> * tui/tui-layout.c (show_layout): Set current_layout. (show_source_disasm_command, show_data) (show_source_or_disasm_and_command): Don't set current_layout. Change-Id: Id8b23797d68e607f0fcd6d29b8801869d40d1869
Diffstat (limited to 'gdb/tui/tui-source.c')
0 files changed, 0 insertions, 0 deletions