+2019-08-16 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-winsource.h (struct tui_source_window_base)
+ <m_has_locator>: Remove.
+ * tui/tui-layout.c (show_source_disasm_command, show_data)
+ (show_source_or_disasm_and_command): Update.
+
2019-08-16 Alan Hayward <alan.hayward@arm.com>
* NEWS (Other MI changes): New subsection.
tui_term_width (),
0,
0);
- TUI_SRC_WIN->m_has_locator = false;
struct tui_locator_window *locator = tui_locator_win_info_ptr ();
gdb_assert (locator != nullptr);
tui_term_width (),
0,
(src_height + asm_height) - 1);
- TUI_SRC_WIN->m_has_locator = false;
- TUI_DISASM_WIN->m_has_locator = true;
TUI_DISASM_WIN->show_source_content ();
if (TUI_CMD_WIN == NULL)
tui_win_list[win_type] = new tui_disasm_window ();
}
- tui_source_window_base *base
- = (tui_source_window_base *) tui_win_list[win_type];
tui_win_list[win_type]->resize (src_height,
tui_term_width (),
0,
TUI_CMD_WIN->resize (TUI_CMD_WIN->height, tui_term_width (),
0, total_height);
- base->m_has_locator = true;
current_layout = new_layout;
}
0,
0);
- win_info->m_has_locator = true;
win_info->show_source_content ();
if (TUI_CMD_WIN == NULL)
/* Erase the source content. */
virtual void erase_source_content () = 0;
- /* Does the locator belong to this window? */
- bool m_has_locator = false;
/* Execution information window. */
struct tui_exec_info_window *execution_info;
/* Used for horizontal scroll. */