Remove reset_locator
authorTom Tromey <tom@tromey.com>
Mon, 1 Jul 2019 02:32:35 +0000 (20:32 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:14 +0000 (12:19 -0600)
commit4e1e56b9818109a39bb1b035fd50dd05a00699f2
tree98756ae6b6bae2cd452ad88345e0dba8f71fde6f
parent1e0c09ba0bdd8b4dd1ab3a61b2ae2d326825bee1
Remove reset_locator

reset_locator was introduced just a few patches ago, but it's already
time to remove it.  It consists of a call to the locator's "reset"
method, plus a call to tui_make_window; but the latter is redundant at
all the places that call reset_locator.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-layout.c (show_source_disasm_command, show_data):
Update.
(reset_locator): Remove.
(show_source_or_disasm_and_command): Update.
gdb/ChangeLog
gdb/tui/tui-layout.c