Remove a call to update_exec_info

tui_show_frame_info calls update_exec_info after calling
erase_source_content, but there's no need to do this, as
erase_source_content already clears the exec info.

gdb/ChangeLog
2019-12-20  Tom Tromey  <tom@tromey.com>

	* tui/tui-stack.c (tui_show_frame_info): Don't call
	update_exec_info.

Change-Id: I63d658561028ac1bc0a0a2b7ac17da1b9c6134fe
This commit is contained in:
Tom Tromey 2019-11-13 00:16:39 -07:00
parent 77b97e0062
commit ae4393e22c
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2019-12-20 Tom Tromey <tom@tromey.com>
* tui/tui-stack.c (tui_show_frame_info): Don't call
update_exec_info.
2019-12-20 Tom Tromey <tom@tromey.com>
* tui/tui.c (tui_enable): Call tui_display_main.

View File

@ -362,10 +362,7 @@ tui_show_frame_info (struct frame_info *fi)
return 0;
for (struct tui_source_window_base *win_info : tui_source_windows ())
{
win_info->erase_source_content ();
win_info->update_exec_info ();
}
win_info->erase_source_content ();
return 1;
}