aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-09-27 20:30:30 -0600
committerTom Tromey <tom@tromey.com>2020-09-27 20:30:31 -0600
commitc15c15c8d998af6676562d15b9a1f1dcac1fa3ea (patch)
tree98bd517cd4da26b2a654cb854a546456d0ad2eb9 /gdb/tui
parent149830c137f351cb41888f87493cc42a72dbeac7 (diff)
downloadgdb-c15c15c8d998af6676562d15b9a1f1dcac1fa3ea.zip
gdb-c15c15c8d998af6676562d15b9a1f1dcac1fa3ea.tar.gz
gdb-c15c15c8d998af6676562d15b9a1f1dcac1fa3ea.tar.bz2
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.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-winsource.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c
index db0add9..6723bad 100644
--- a/gdb/tui/tui-winsource.c
+++ b/gdb/tui/tui-winsource.c
@@ -411,7 +411,6 @@ tui_source_window_base::set_is_exec_point_at (struct tui_line_or_address l)
{
changed = true;
m_content[i].is_exec_point = new_state;
- show_source_line (i + 1);
}
i++;
}