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 /ar-lib | |
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 'ar-lib')
0 files changed, 0 insertions, 0 deletions