aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-io.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-01 14:44:29 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:19:20 -0600
commit0fcd37117e94e5b9bf5f4aaa4dccc8038b38398e (patch)
treebda121aa52386616b4e3b3724e5dff45f18411f8 /gdb/tui/tui-io.c
parent4a38112da00f45527de4aec0b645443c6ee0e01e (diff)
downloadgdb-0fcd37117e94e5b9bf5f4aaa4dccc8038b38398e.zip
gdb-0fcd37117e94e5b9bf5f4aaa4dccc8038b38398e.tar.gz
gdb-0fcd37117e94e5b9bf5f4aaa4dccc8038b38398e.tar.bz2
Remove has_locator method
Earlier changes made it obvious that the has_locator method can only be called for source/disassembly windows. Because the only reference to this now occurs in methods on this object, we can remove the has_locator method entirely, in favor of using the member directly. gdb/ChangeLog 2019-07-17 Tom Tromey <tom@tromey.com> * tui/tui-win.c (tui_source_window_base::set_new_height) (tui_source_window_base::do_make_visible_with_new_height): Use m_has_locator field directly. * tui/tui-data.h (struct tui_win_info) <has_locator>: Remove method. (struct tui_source_window_base) <has_locator>: Likewise.
Diffstat (limited to 'gdb/tui/tui-io.c')
0 files changed, 0 insertions, 0 deletions