Remove a call to update_exec_info
authorTom Tromey <tom@tromey.com>
Wed, 13 Nov 2019 07:16:39 +0000 (00:16 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 20 Dec 2019 16:15:55 +0000 (09:15 -0700)
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

gdb/ChangeLog
gdb/tui/tui-stack.c

index 1034aa85fe2e9cd676f5d0f0d2e8dfae578e93f7..85212286df3eec96fae56e07d8913896929f9fd8 100644 (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.
index 4f6fe8ebdaf177216e51e48d39e93b26245e3321..f42bd836d2088b6e3cb3aa8a8c712c29fcd691e3 100644 (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;
     }
This page took 0.030472 seconds and 4 git commands to generate.