aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-11-13 00:16:39 -0700
committerTom Tromey <tom@tromey.com>2019-12-20 09:15:55 -0700
commitae4393e22cee036eddfa19287cfe774d5f01bb7c (patch)
treeb60a489d109300db5f8d1e8fc5f1979c186640bb /gdb
parent77b97e006217ed089b588e6799a59334bd216c43 (diff)
downloadgdb-ae4393e22cee036eddfa19287cfe774d5f01bb7c.zip
gdb-ae4393e22cee036eddfa19287cfe774d5f01bb7c.tar.gz
gdb-ae4393e22cee036eddfa19287cfe774d5f01bb7c.tar.bz2
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
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/tui/tui-stack.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1034aa8..8521228 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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.
2019-12-20 Tom Tromey <tom@tromey.com>
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index 4f6fe8e..f42bd83 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -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;
}