diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-28 23:56:25 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:19:13 -0600 |
commit | 1bf605de8e9ae4fcf77c21067ddaf4a242a873f7 (patch) | |
tree | f0f403f374afd5da10bf993ea25e49ac2bbfb396 /gdb/ChangeLog | |
parent | 098f9ed48e1c94a2624c825ba93d72b163d41196 (diff) | |
download | gdb-1bf605de8e9ae4fcf77c21067ddaf4a242a873f7.zip gdb-1bf605de8e9ae4fcf77c21067ddaf4a242a873f7.tar.gz gdb-1bf605de8e9ae4fcf77c21067ddaf4a242a873f7.tar.bz2 |
Introduce reset_locator function in tui-layout.c
init_and_make_win in tui-layout.c is now only called for the locator
-- earlier changes have made most of the cases here obsolete. This
patch removes init_and_make_win and introduces a reset_locator
function. Window creation is now much simpler to follow, because it
is no longer quite so dynamic. (Though it will become even simpler in
coming patches.)
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-layout.c (show_source_disasm_command): Use
reset_locator.
(reset_locator): New function.
(init_and_make_win): Remove.
(show_source_or_disasm_and_command): Use reset_locator.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1c56652..76549e0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2019-07-17 Tom Tromey <tom@tromey.com> + * tui/tui-layout.c (show_source_disasm_command): Use + reset_locator. + (reset_locator): New function. + (init_and_make_win): Remove. + (show_source_or_disasm_and_command): Use reset_locator. + +2019-07-17 Tom Tromey <tom@tromey.com> + * tui/tui-winsource.c (tui_set_exec_info_content): Remove condition. * tui/tui-wingeneral.c (tui_source_window_base::make_visible): |