mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Remove a call to show_source_line from TUI
This removes a call to show_source_line from tui_source_window_base. This call isn't needed because this function already calls the 'refill' method if the state changed. gdb/ChangeLog 2020-09-27 Tom Tromey <tom@tromey.com> * tui/tui-winsource.c (tui_source_window_base::set_is_exec_point_at): Don't call show_source_line.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2020-09-27 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* tui/tui-winsource.c
|
||||||
|
(tui_source_window_base::set_is_exec_point_at): Don't call
|
||||||
|
show_source_line.
|
||||||
|
|
||||||
2020-09-27 Tom Tromey <tom@tromey.com>
|
2020-09-27 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* python/py-tui.c (class tui_py_window) <refresh_window>: New
|
* python/py-tui.c (class tui_py_window) <refresh_window>: New
|
||||||
|
@ -411,7 +411,6 @@ tui_source_window_base::set_is_exec_point_at (struct tui_line_or_address l)
|
|||||||
{
|
{
|
||||||
changed = true;
|
changed = true;
|
||||||
m_content[i].is_exec_point = new_state;
|
m_content[i].is_exec_point = new_state;
|
||||||
show_source_line (i + 1);
|
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user